Skip to content

Commit 6a332ce

Browse files
committed
fixes
1 parent 4d0e81e commit 6a332ce

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

cxx-lint/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<version>1.2.3</version>
2626
<scope>test</scope>
2727
</dependency>
28-
<dependency>
28+
<dependency>
2929
<groupId>com.google.code.gson</groupId>
3030
<artifactId>gson</artifactId>
3131
<version>2.6.2</version>

cxx-sensors/src/main/java/org/sonar/cxx/sensors/visitors/CxxFileLinesVisitor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ public void leaveFile(AstNode astNode) {
235235
if (LOG.isDebugEnabled()) {
236236
LOG.debug("CxxFileLinesVisitor: '{}'", inputFile.uri().getPath());
237237
LOG.debug(" lines: '{}'", inputFile.lines());
238-
LOG.debug(" executableLines: '{}'", new HashSet(executableLines));
239-
LOG.debug(" linesOfCode: '{}'", new HashSet(linesOfCode));
240-
LOG.debug(" linesOfComments: '{}'", new HashSet(linesOfComments));
238+
LOG.debug(" executableLines: '{}'", new HashSet<>(executableLines));
239+
LOG.debug(" linesOfCode: '{}'", new HashSet<>(linesOfCode));
240+
LOG.debug(" linesOfComments: '{}'", new HashSet<>(linesOfComments));
241241
}
242242

243243
linesOfCode = null;

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
</goals>
136136
</execution>
137137
</executions>
138-
</plugin>
138+
</plugin>
139139
</plugins>
140140
</pluginManagement>
141141
</build>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
<exclusion>
287287
<groupId>org.codehaus.sonar.sslr</groupId>
288288
<artifactId>sslr-core</artifactId>
289-
</exclusion>
289+
</exclusion>
290290
<exclusion>
291291
<groupId>org.codehaus.sonar.sslr</groupId>
292292
<artifactId>sslr-xpath</artifactId>

sonar-c-plugin/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<version>1.2.2-SNAPSHOT</version>
99
</parent>
1010

11-
11+
1212
<artifactId>sonar-c-plugin</artifactId>
1313
<packaging>sonar-plugin</packaging>
1414

@@ -19,7 +19,7 @@
1919

2020
<properties>
2121
<sonar.pluginClass>org.sonar.plugins.c.CPlugin</sonar.pluginClass>
22-
<sonar.pluginName>C (Community)</sonar.pluginName>
22+
<sonar.pluginName>C (Community)</sonar.pluginName>
2323
<sonar.artifact.path>target/${project.artifactId}-${project.version}.jar</sonar.artifact.path>
2424
</properties>
2525

@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>org.sonarsource.sslr</groupId>
5555
<artifactId>sslr-xpath</artifactId>
56-
</dependency>
56+
</dependency>
5757
<dependency>
5858
<groupId>com.google.guava</groupId>
5959
<artifactId>guava</artifactId>

sonar-cxx-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<properties>
2020
<sonar.artifact.path>target/${project.artifactId}-${project.version}.jar</sonar.artifact.path>
2121
<sonar.pluginClass>org.sonar.plugins.cxx.CxxPlugin</sonar.pluginClass>
22-
<sonar.pluginName>C++ (Community)</sonar.pluginName>
22+
<sonar.pluginName>C++ (Community)</sonar.pluginName>
2323
</properties>
2424

2525
<dependencies>
@@ -52,7 +52,7 @@
5252
<dependency>
5353
<groupId>org.sonarsource.sslr</groupId>
5454
<artifactId>sslr-xpath</artifactId>
55-
</dependency>
55+
</dependency>
5656
<dependency>
5757
<groupId>com.google.guava</groupId>
5858
<artifactId>guava</artifactId>

0 commit comments

Comments
 (0)