File tree Expand file tree Collapse file tree 5 files changed +5
-4
lines changed
test/resources/com/qulice/pmd Expand file tree Collapse file tree 5 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments