-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #1: Create a application what parses xdocs with example config …
…specified
- Loading branch information
piyush kumar sadangi
authored and
piyush kumar sadangi
committed
Jun 21, 2024
1 parent
7c15dd4
commit 11d72fe
Showing
6 changed files
with
146 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" | ||
"https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<module name = "Checker"> | ||
<property name="charset" value="UTF-8"/> | ||
|
||
<!-- do not change severity to 'error', as that will hide errors caused by exceptions --> | ||
<property name="severity" value="warning"/> | ||
|
||
<!-- haltOnException is required for exception fixes and reporting of all exceptions --> | ||
<property name="haltOnException" value="false"/> | ||
|
||
<!-- BeforeExecutionFileFilters is required for sources of java9 --> | ||
<module name="BeforeExecutionExclusionFileFilter"> | ||
<property name="fileNamePattern" value="module\-info\.java$" /> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
<module name="AbstractClassName"/> | ||
|
||
<!-- usuppress javadoc parsing errors, as we test Check not a parser --> | ||
<module name="SuppressionXpathSingleFilter"> | ||
<property name="message" value="Javadoc comment at column \d+ has parse error"/> | ||
</module> | ||
</module> | ||
|
||
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them --> | ||
<module name="SuppressionSingleFilter"> | ||
<property name="checks" value="Checker"/> | ||
<property name="message" value="Exception occurred while parsing"/> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" | ||
"https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<module name = "Checker"> | ||
<property name="charset" value="UTF-8"/> | ||
|
||
<!-- do not change severity to 'error', as that will hide errors caused by exceptions --> | ||
<property name="severity" value="warning"/> | ||
|
||
<!-- haltOnException is required for exception fixes and reporting of all exceptions --> | ||
<property name="haltOnException" value="false"/> | ||
|
||
<!-- BeforeExecutionFileFilters is required for sources of java9 --> | ||
<module name="BeforeExecutionExclusionFileFilter"> | ||
<property name="fileNamePattern" value="module\-info\.java$" /> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
<module name="AbstractClassName"> | ||
<property name="ignoreModifier" value="true"/> | ||
</module> | ||
|
||
<!-- usuppress javadoc parsing errors, as we test Check not a parser --> | ||
<module name="SuppressionXpathSingleFilter"> | ||
<property name="message" value="Javadoc comment at column \d+ has parse error"/> | ||
</module> | ||
</module> | ||
|
||
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them --> | ||
<module name="SuppressionSingleFilter"> | ||
<property name="checks" value="Checker"/> | ||
<property name="message" value="Exception occurred while parsing"/> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" | ||
"https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<module name = "Checker"> | ||
<property name="charset" value="UTF-8"/> | ||
|
||
<!-- do not change severity to 'error', as that will hide errors caused by exceptions --> | ||
<property name="severity" value="warning"/> | ||
|
||
<!-- haltOnException is required for exception fixes and reporting of all exceptions --> | ||
<property name="haltOnException" value="false"/> | ||
|
||
<!-- BeforeExecutionFileFilters is required for sources of java9 --> | ||
<module name="BeforeExecutionExclusionFileFilter"> | ||
<property name="fileNamePattern" value="module\-info\.java$" /> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
<module name="AbstractClassName"> | ||
<property name="ignoreName" value="true"/> | ||
</module> | ||
|
||
<!-- usuppress javadoc parsing errors, as we test Check not a parser --> | ||
<module name="SuppressionXpathSingleFilter"> | ||
<property name="message" value="Javadoc comment at column \d+ has parse error"/> | ||
</module> | ||
</module> | ||
|
||
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them --> | ||
<module name="SuppressionSingleFilter"> | ||
<property name="checks" value="Checker"/> | ||
<property name="message" value="Exception occurred while parsing"/> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" | ||
"https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<module name = "Checker"> | ||
<property name="charset" value="UTF-8"/> | ||
|
||
<!-- do not change severity to 'error', as that will hide errors caused by exceptions --> | ||
<property name="severity" value="warning"/> | ||
|
||
<!-- haltOnException is required for exception fixes and reporting of all exceptions --> | ||
<property name="haltOnException" value="false"/> | ||
|
||
<!-- BeforeExecutionFileFilters is required for sources of java9 --> | ||
<module name="BeforeExecutionExclusionFileFilter"> | ||
<property name="fileNamePattern" value="module\-info\.java$" /> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
<module name="AbstractClassName"> | ||
<property name="format" value="^Generator.+$"/> | ||
</module> | ||
|
||
<!-- usuppress javadoc parsing errors, as we test Check not a parser --> | ||
<module name="SuppressionXpathSingleFilter"> | ||
<property name="message" value="Javadoc comment at column \d+ has parse error"/> | ||
</module> | ||
</module> | ||
|
||
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them --> | ||
<module name="SuppressionSingleFilter"> | ||
<property name="checks" value="Checker"/> | ||
<property name="message" value="Exception occurred while parsing"/> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters