Skip to content

Commit d3ccefa

Browse files
committed
Qulice/align pmd versions 1510
2 parents 91230a9 + b420fcb commit d3ccefa

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@
227227
<item>net\.sourceforge\.pmd:.*</item>
228228
<item>org\.apache\.maven:.*</item>
229229
<item>org\.apache\.maven\.resolver:.*</item>
230+
<item>org\.eclipse\.aether:.*</item>
230231
<item>org\.apache\.maven\.doxia:.*</item>
231232
<item>com\.puppycrawl\.tools:.*</item>
232233
</exclude>

qulice-pmd/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>net.sourceforge.pmd</groupId>
6868
<artifactId>pmd-java</artifactId>
69-
<version>7.20.0</version>
69+
<version>7.21.0</version>
7070
</dependency>
7171
<dependency>
7272
<groupId>org.hamcrest</groupId>

qulice-pmd/src/main/java/com/qulice/pmd/SourceValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ final class SourceValidator {
4949
* @return Collection of violations.
5050
*/
5151
@SuppressWarnings({"PMD.AvoidInstantiatingObjectsInLoops", "PMD.CloseResource"})
52-
public Collection<PmdError> validate(
52+
Collection<PmdError> validate(
5353
final Collection<File> sources, final String path) {
5454
this.config.setRuleSets(new ListOf<>("com/qulice/pmd/ruleset.xml"));
5555
this.config.setThreads(0);

qulice-pmd/src/test/resources/com/qulice/pmd/StaticAccessToStaticFields.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static int another() {
2929
return 1;
3030
}
3131

32-
public int add(final int a) {
32+
int add(final int a) {
3333
return a + this.num;
3434
}
3535
}

qulice-pmd/src/test/resources/com/qulice/pmd/SwaggerApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Test class for swagger annotation.
99
*/
10-
class SwaggerApi {
10+
public class SwaggerApi {
1111
/**
1212
* Get settings by name.
1313
* @param name Name.

0 commit comments

Comments
 (0)