diff --git a/checkstyle.xml b/checkstyle.xml index b2e6fa633..89b2b21d5 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -1,7 +1,7 @@ + "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" + "https://checkstyle.org/dtds/configuration_1_3.dtd"> + + + + + @@ -32,7 +37,7 @@ + default="checkstyle-suppressions.xml" /> @@ -44,9 +49,9 @@ - + + value="^package.*|^import.*|href\s*=\s*"[^"]*"|http://|https://|ftp://"/> @@ -54,9 +59,9 @@ + value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/> + value="Consider using special escape sequence instead of octal value or Unicode escaped value."/> @@ -71,15 +76,15 @@ + value="LITERAL_IF, LITERAL_ELSE"/> + value="LITERAL_DO, LITERAL_ELSE, LITERAL_FOR, LITERAL_IF, LITERAL_WHILE"/> @@ -87,14 +92,14 @@ @@ -106,7 +111,7 @@ @@ -118,17 +123,17 @@ + value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/> @@ -139,7 +144,7 @@ @@ -174,48 +179,48 @@ + value="Package name ''{0}'' must match pattern ''{1}''."/> + value="Type name ''{0}'' must match pattern ''{1}''."/> + value="Member name ''{0}'' must match pattern ''{1}''."/> + value="Parameter name ''{0}'' must match pattern ''{1}''."/> + value="Lambda parameter name ''{0}'' must match pattern ''{1}''."/> + value="Catch parameter name ''{0}'' must match pattern ''{1}''."/> + value="Local variable name ''{0}'' must match pattern ''{1}''."/> + value="Pattern variable name ''{0}'' must match pattern ''{1}''."/> + value="Class type name ''{0}'' must match pattern ''{1}''."/> @@ -230,39 +235,31 @@ + value="Method type name ''{0}'' must match pattern ''{1}''."/> + value="Interface type name ''{0}'' must match pattern ''{1}''."/> + value="GenericWhitespace ''{0}'' is followed by whitespace."/> + value="GenericWhitespace ''{0}'' is preceded with whitespace."/> + value="GenericWhitespace ''{0}'' should followed by whitespace."/> + value="GenericWhitespace ''{0}'' is not preceded with whitespace."/> - - - - - - - - - - - + + + + + + @@ -270,39 +267,32 @@ - + - - - - @@ -312,17 +302,9 @@ - - - - - - - + value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/> @@ -331,24 +313,10 @@ - - - - - - - - - - - + value="Method name ''{0}'' must match pattern ''{1}''."/> @@ -360,7 +328,7 @@ + default="checkstyle-xpath-suppressions.xml" /> @@ -377,4 +345,4 @@ - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 0b87ab326..6e7ebf073 100644 --- a/pom.xml +++ b/pom.xml @@ -371,7 +371,7 @@ checkstyle.xml true UTF-8 - true + false false false org.checkstyle.google.severity=warning @@ -403,7 +403,6 @@ Max Low - true false true true diff --git a/suppression.xml b/suppression.xml new file mode 100644 index 000000000..74642dd49 --- /dev/null +++ b/suppression.xml @@ -0,0 +1,12 @@ + + + + + + + +