Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush kumar sadangi authored and romani committed Oct 11, 2024
1 parent f371a59 commit bfb64f3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion IllegalTokenText/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="IllegalTokenText">
<property name="format" value="""/>
<property name="format" value='"'/>
<property name="tokens" value="TEXT_BLOCK_CONTENT"/>
</module>

Expand Down
2 changes: 1 addition & 1 deletion IllegalTokenText/all-examples-in-one/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</module>

<module name="IllegalTokenText">
<property name="format" value="""/>
<property name="format" value='"'/>
<property name="id" value="example3"/>
<property name="tokens" value="TEXT_BLOCK_CONTENT"/>
</module>
Expand Down
2 changes: 1 addition & 1 deletion MultipleStringLiterals/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="MultipleStringLiterals">
<property name="ignoreStringsRegexp" value="^(("")|(", "))$"/>
<property name="ignoreStringsRegexp" value='^(("")|(", "))$'/>
</module>

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

<module name="MultipleStringLiterals">
<property name="id" value="example3"/>
<property name="ignoreStringsRegexp" value="^(("")|(", "))$"/>
<property name="ignoreStringsRegexp" value='^(("")|(", "))$'/>
</module>

<module name="MultipleStringLiterals">
Expand Down
2 changes: 1 addition & 1 deletion Regexp/Example12/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="Regexp">
<property name="format" value="\A/\*\n \* (\w*)\.java\n \*\n \* Copyright \(c\) \d\d\d\d ACME\n \* 123 Some St\.\n \* Somewhere\.\n \*\n \* This software is the confidential and proprietary information of ACME\.\n \* \("Confidential Information"\)\. You shall not disclose such\n \* Confidential Information and shall use it only in accordance with\n \* the terms of the license agreement you entered into with ACME\.\n \*\n \* \$Log: config_misc\.xml,v $ \* Revision 1\.7 2007/01/16 12:16:35 oburn \* Removing all reference to mailing lists \* \ \* Revision 1.6 2005/12/25 16:13:10 o_sukhodolsky \* Fix for rfe 1248106 \(TYPECAST is now accepted by NoWhitespaceAfter\) \* \ \* Fix for rfe 953266 \(thanks to Paul Guyot \(pguyot\) for submitting patch\) \* IllegalType can be configured to accept some abstract classes which \* matches to regexp of illegal type names \(property legalAbstractClassNames\) \* \* TrailingComment now can be configured to accept some trailing comments \* \(such as NOI18N\) \(property legalComment, rfe 1385344\). \* \* Revision 1.5 2005/11/06 11:54:12 oburn \* Incorporate excellent patch \[ 1344344 \] Consolidation of regexp checks. \* \\n(.*\n)*([\w|\s]*( class | interface )\1)"/>
<property name="format" value='\A/\*\n \* (\w*)\.java\n \*\n \* Copyright \(c\) \d\d\d\d ACME\n \* 123 Some St\.\n \* Somewhere\.\n \*\n \* This software is the confidential and proprietary information of ACME\.\n \* \("Confidential Information"\)\. You shall not disclose such\n \* Confidential Information and shall use it only in accordance with\n \* the terms of the license agreement you entered into with ACME\.\n \*\n \* \$Log: config_misc\.xml,v $ \* Revision 1\.7 2007/01/16 12:16:35 oburn \* Removing all reference to mailing lists \* \ \* Revision 1.6 2005/12/25 16:13:10 o_sukhodolsky \* Fix for rfe 1248106 \(TYPECAST is now accepted by NoWhitespaceAfter\) \* \ \* Fix for rfe 953266 \(thanks to Paul Guyot \(pguyot\) for submitting patch\) \* IllegalType can be configured to accept some abstract classes which \* matches to regexp of illegal type names \(property legalAbstractClassNames\) \* \* TrailingComment now can be configured to accept some trailing comments \* \(such as NOI18N\) \(property legalComment, rfe 1385344\). \* \* Revision 1.5 2005/11/06 11:54:12 oburn \* Incorporate excellent patch \[ 1344344 \] Consolidation of regexp checks. \* \\n(.*\n)*([\w|\s]*( class | interface )\1)'/>
<property name="message" value="Correct header not found"/>
</module>

Expand Down
2 changes: 1 addition & 1 deletion Regexp/Example13/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<module name="Regexp">
<property name="duplicateLimit" value="0"/>
<property name="format" value="(/\*\*\n)( \*.*\n)*( \* <P>\n \* <I> This software is the confidential and proprietary information of\n \* ACME \(<B>"Confidential Information"</B> \)\. You shall not\n \* disclose such Confidential Information and shall use it only in\n \* accordance with the terms of the license agreement you entered into\n \* with ACME\.</I>\n \* </P>\n \*\n \* © copyright \d\d\d\d ACME\n \*\n \* @author .*)(\n\s\*.*)*/\n[\w|\s]*( class | interface )"/>
<property name="format" value='(/\*\*\n)( \*.*\n)*( \* <P>\n \* <I> This software is the confidential and proprietary information of\n \* ACME \(<B>"Confidential Information"</B> \)\. You shall not\n \* disclose such Confidential Information and shall use it only in\n \* accordance with the terms of the license agreement you entered into\n \* with ACME\.</I>\n \* </P>\n \*\n \* © copyright \d\d\d\d ACME\n \*\n \* @author .*)(\n\s\*.*)*/\n[\w|\s]*( class | interface )'/>
<property name="message" value="Copyright in class/interface Javadoc"/>
</module>

Expand Down
4 changes: 2 additions & 2 deletions Regexp/all-examples-in-one/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@
</module>

<module name="Regexp">
<property name="format" value="\A/\*\n \* (\w*)\.java\n \*\n \* Copyright \(c\) \d\d\d\d ACME\n \* 123 Some St\.\n \* Somewhere\.\n \*\n \* This software is the confidential and proprietary information of ACME\.\n \* \("Confidential Information"\)\. You shall not disclose such\n \* Confidential Information and shall use it only in accordance with\n \* the terms of the license agreement you entered into with ACME\.\n \*\n \* \$Log: config_misc\.xml,v $ \* Revision 1\.7 2007/01/16 12:16:35 oburn \* Removing all reference to mailing lists \* \ \* Revision 1.6 2005/12/25 16:13:10 o_sukhodolsky \* Fix for rfe 1248106 \(TYPECAST is now accepted by NoWhitespaceAfter\) \* \ \* Fix for rfe 953266 \(thanks to Paul Guyot \(pguyot\) for submitting patch\) \* IllegalType can be configured to accept some abstract classes which \* matches to regexp of illegal type names \(property legalAbstractClassNames\) \* \* TrailingComment now can be configured to accept some trailing comments \* \(such as NOI18N\) \(property legalComment, rfe 1385344\). \* \* Revision 1.5 2005/11/06 11:54:12 oburn \* Incorporate excellent patch \[ 1344344 \] Consolidation of regexp checks. \* \\n(.*\n)*([\w|\s]*( class | interface )\1)"/>
<property name="format" value='\A/\*\n \* (\w*)\.java\n \*\n \* Copyright \(c\) \d\d\d\d ACME\n \* 123 Some St\.\n \* Somewhere\.\n \*\n \* This software is the confidential and proprietary information of ACME\.\n \* \("Confidential Information"\)\. You shall not disclose such\n \* Confidential Information and shall use it only in accordance with\n \* the terms of the license agreement you entered into with ACME\.\n \*\n \* \$Log: config_misc\.xml,v $ \* Revision 1\.7 2007/01/16 12:16:35 oburn \* Removing all reference to mailing lists \* \ \* Revision 1.6 2005/12/25 16:13:10 o_sukhodolsky \* Fix for rfe 1248106 \(TYPECAST is now accepted by NoWhitespaceAfter\) \* \ \* Fix for rfe 953266 \(thanks to Paul Guyot \(pguyot\) for submitting patch\) \* IllegalType can be configured to accept some abstract classes which \* matches to regexp of illegal type names \(property legalAbstractClassNames\) \* \* TrailingComment now can be configured to accept some trailing comments \* \(such as NOI18N\) \(property legalComment, rfe 1385344\). \* \* Revision 1.5 2005/11/06 11:54:12 oburn \* Incorporate excellent patch \[ 1344344 \] Consolidation of regexp checks. \* \\n(.*\n)*([\w|\s]*( class | interface )\1)'/>
<property name="id" value="example12"/>
<property name="message" value="Correct header not found"/>
</module>

<module name="Regexp">
<property name="duplicateLimit" value="0"/>
<property name="format" value="(/\*\*\n)( \*.*\n)*( \* <P>\n \* <I> This software is the confidential and proprietary information of\n \* ACME \(<B>"Confidential Information"</B> \)\. You shall not\n \* disclose such Confidential Information and shall use it only in\n \* accordance with the terms of the license agreement you entered into\n \* with ACME\.</I>\n \* </P>\n \*\n \* © copyright \d\d\d\d ACME\n \*\n \* @author .*)(\n\s\*.*)*/\n[\w|\s]*( class | interface )"/>
<property name="format" value='(/\*\*\n)( \*.*\n)*( \* <P>\n \* <I> This software is the confidential and proprietary information of\n \* ACME \(<B>"Confidential Information"</B> \)\. You shall not\n \* disclose such Confidential Information and shall use it only in\n \* accordance with the terms of the license agreement you entered into\n \* with ACME\.</I>\n \* </P>\n \*\n \* © copyright \d\d\d\d ACME\n \*\n \* @author .*)(\n\s\*.*)*/\n[\w|\s]*( class | interface )'/>
<property name="id" value="example13"/>
<property name="message" value="Copyright in class/interface Javadoc"/>
</module>
Expand Down

0 comments on commit bfb64f3

Please sign in to comment.