Use OS independant path separator in checkstyle suppressions
This commit is contained in:
@ -6,6 +6,6 @@
|
|||||||
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
||||||
|
|
||||||
<!-- ModifiedControlVariable / JumbledIncrementer -->
|
<!-- ModifiedControlVariable / JumbledIncrementer -->
|
||||||
<suppress checks="ModifiedControlVariable" files="net/sourceforge/pmd/cpd/MatchAlgorithm\.java"/>
|
<suppress checks="ModifiedControlVariable" files="net[\\/]sourceforge[\\/]pmd[\\/]cpd[\\/]MatchAlgorithm\.java"/>
|
||||||
<suppress checks="ModifiedControlVariable" files="net/sourceforge/pmd/lang/dfa/SequenceChecker\.java"/>
|
<suppress checks="ModifiedControlVariable" files="net[\\/]sourceforge[\\/]pmd[\\/]lang[\\/]dfa[\\/]SequenceChecker\.java"/>
|
||||||
</suppressions>
|
</suppressions>
|
@ -5,8 +5,8 @@
|
|||||||
<suppressions>
|
<suppressions>
|
||||||
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
||||||
|
|
||||||
<suppress files="/src/main/java/net/sourceforge/pmd/lang/java/rule/AbstractJavaRule.java"
|
<suppress files="[\\/]src[\\/]main[\\/]java[\\/]net[\\/]sourceforge[\\/]pmd[\\/]lang[\\/]java[\\/]rule[\\/]AbstractJavaRule\.java"
|
||||||
checks="AvoidStarImport" />
|
checks="AvoidStarImport" />
|
||||||
<suppress files="/src/test/java/net/sourceforge/pmd/typeresolution/testdata/ExtraTopLevelClass.java"
|
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]net[\\/]sourceforge[\\/]pmd[\\/]typeresolution[\\/]testdata[\\/]ExtraTopLevelClass\.java"
|
||||||
checks="OneTopLevelClass" />
|
checks="OneTopLevelClass" />
|
||||||
</suppressions>
|
</suppressions>
|
@ -7,5 +7,5 @@ package net.sourceforge.pmd.typeresolution.testdata;
|
|||||||
public class ExtraTopLevelClass {
|
public class ExtraTopLevelClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
class TheExtraTopLevelClass { // SUPPRESS CHECKSTYLE explicityl testing two classes in one file
|
class TheExtraTopLevelClass {
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
<suppressions>
|
<suppressions>
|
||||||
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
||||||
|
|
||||||
<suppress checks="AvoidStarImport" files="src/main/java/net/sourceforge/pmd/lang/plsql/rule/AbstractPLSQLRule.java"/>
|
<suppress checks="AvoidStarImport" files="src[\\/]main[\\/]java[\\/]net[\\/]sourceforge[\\/]pmd[\\/]lang[\\/]plsql[\\/]rule[\\/]AbstractPLSQLRule\.java"/>
|
||||||
</suppressions>
|
</suppressions>
|
@ -6,5 +6,5 @@
|
|||||||
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
||||||
|
|
||||||
<!-- Part of pmd-scala is under LGPL -->
|
<!-- Part of pmd-scala is under LGPL -->
|
||||||
<suppress checks="RegexpHeader" files="org/sonar/plugins/scala/.*"/>
|
<suppress checks="RegexpHeader" files="org[\\/]sonar[\\/]plugins[\\/]scala[\\/].*"/>
|
||||||
</suppressions>
|
</suppressions>
|
@ -6,7 +6,7 @@
|
|||||||
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
|
||||||
|
|
||||||
<!-- The velocity language is under the Apache License. -->
|
<!-- The velocity language is under the Apache License. -->
|
||||||
<suppress checks="RegexpHeaderCheck" files="net/sourceforge/pmd/lang/vm/.*"/>
|
<suppress checks="RegexpHeaderCheck" files="net[\\/]sourceforge[\\/]pmd[\\/]lang[\\/]vm[\\/].*"/>
|
||||||
|
|
||||||
<suppress checks="ModifiedControlVariable" files="src/main/java/net/sourceforge/pmd/lang/vm/ast/NodeUtils.java"/>
|
<suppress checks="ModifiedControlVariable" files="src[\\/]main[\\/]java[\\/]net[\\/]sourceforge[\\/]pmd[\\/]lang[\\/]vm[\\/]ast[\\/]NodeUtils\.java"/>
|
||||||
</suppressions>
|
</suppressions>
|
Reference in New Issue
Block a user