Skip to content

Commit

Permalink
Update from extractor auto execution
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 4, 2024
1 parent 1380c6a commit 435cd31
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 29 deletions.
2 changes: 1 addition & 1 deletion IllegalImport/Example3/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="IllegalImport">
<property name="illegalPkgs" value="java.io, java.sql"/>
<property name="illegalClasses" value="java.util.Date, java.sql.Connection"/>
</module>

<!-- suppress javadoc parsing errors, as we test Check not a parser -->
Expand Down
3 changes: 2 additions & 1 deletion IllegalImport/Example4/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="IllegalImport">
<property name="illegalClasses" value="java.util.Date, java.sql.Connection"/>
<property name="illegalPkgs" value="java\.util"/>
<property name="regexp" value="true"/>
</module>

<!-- suppress javadoc parsing errors, as we test Check not a parser -->
Expand Down
3 changes: 2 additions & 1 deletion IllegalImport/Example5/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="IllegalImport">
<property name="illegalClasses" value="java.util.Date, java.sql.Connection"/>
<property name="illegalClasses" value="^java\.util\.(List|Arrays), ^java\.sql\.Connection"/>
<property name="regexp" value="true"/>
</module>

<!-- suppress javadoc parsing errors, as we test Check not a parser -->
Expand Down
26 changes: 2 additions & 24 deletions IllegalImport/all-examples-in-one/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,17 @@

<module name="IllegalImport">
<property name="id" value="example3"/>
<property name="illegalPkgs" value="java.io, java.sql"/>
</module>

<module name="IllegalImport">
<property name="id" value="example4"/>
<property name="illegalClasses" value="java.util.Date, java.sql.Connection"/>
</module>

<module name="IllegalImport">
<property name="id" value="example5"/>
<property name="illegalClasses" value="java.util.Date, java.sql.Connection"/>
</module>

<module name="IllegalImport">
<property name="id" value="example6"/>
<property name="illegalPkgs" value="java\.util"/>
<property name="regexp" value="true"/>
</module>

<module name="IllegalImport">
<property name="id" value="example7"/>
<property name="id" value="example4"/>
<property name="illegalPkgs" value="java\.util"/>
<property name="regexp" value="true"/>
</module>

<module name="IllegalImport">
<property name="id" value="example8"/>
<property name="illegalClasses" value="^java\.util\.(List|Arrays), ^java\.sql\.Connection"/>
<property name="regexp" value="true"/>
</module>

<module name="IllegalImport">
<property name="id" value="example9"/>
<property name="id" value="example5"/>
<property name="illegalClasses" value="^java\.util\.(List|Arrays), ^java\.sql\.Connection"/>
<property name="regexp" value="true"/>
</module>
Expand Down
2 changes: 1 addition & 1 deletion MissingJavadocMethod/Example4/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="MissingJavadocMethod">
<property name="ignoreMethodNamesRegex" value="^foo.*$"/>
<property name="ignoreMethodNamesRegex" value="^testMethod.*$"/>
</module>

<!-- suppress javadoc parsing errors, as we test Check not a parser -->
Expand Down
2 changes: 1 addition & 1 deletion MissingJavadocMethod/all-examples-in-one/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<module name="MissingJavadocMethod">
<property name="id" value="example4"/>
<property name="ignoreMethodNamesRegex" value="^foo.*$"/>
<property name="ignoreMethodNamesRegex" value="^testMethod.*$"/>
</module>

<module name="MissingJavadocMethod">
Expand Down

0 comments on commit 435cd31

Please sign in to comment.