Apache Commons logo Commons Text

Checkstyle Results

The following document contains the results of Checkstyle 5.7. rss feed

Summary

Files  Info  Warnings  Errors
64 0 0 200

Details

org/apache/commons/text/beta/StrLookup.java

Severity Category Rule Message Line
 Error javadoc JavadocType Type Javadoc comment is missing an @param <V> tag. 36
 Error blocks EmptyBlock Must have at least one statement. 173

org/apache/commons/text/beta/StrMatcher.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error misc ArrayTypeStyle Array brackets at illegal position. 280
 Error regexp RegexpSingleline Line has trailing spaces. 374
 Error coding MagicNumber '32' is a magic number. 434

org/apache/commons/text/beta/StrSubstitutor.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 154
 Error sizes LineLength Line is longer than 120 characters (found 132). 198
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 214
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 217
 Error coding SimplifyBooleanExpression Expression can be simplified. 393
 Error coding SimplifyBooleanExpression Expression can be simplified. 416
 Error coding SimplifyBooleanExpression Expression can be simplified. 631
 Error coding SimplifyBooleanExpression Expression can be simplified. 672
 Error coding InnerAssignment Inner assignments should be avoided. 783
 Error sizes LineLength Line is longer than 120 characters (found 161). 816
 Error sizes LineLength Line is longer than 120 characters (found 126). 818
 Error sizes LineLength Line is longer than 120 characters (found 125). 821
 Error coding InnerAssignment Inner assignments should be avoided. 821
 Error coding SimplifyBooleanExpression Expression can be simplified. 887
 Error sizes LineLength Line is longer than 120 characters (found 125). 915
 Error regexp RegexpSingleline Line has trailing spaces. 1192
 Error regexp RegexpSingleline Line has trailing spaces. 1207

org/apache/commons/text/beta/StrTokenizer.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 86
 Error javadoc JavadocVariable Missing a Javadoc comment. 87
 Error misc ArrayTypeStyle Array brackets at illegal position. 107
 Error javadoc JavadocStyle First sentence should end with a period. 108
 Error misc ArrayTypeStyle Array brackets at illegal position. 109
 Error javadoc JavadocStyle First sentence should end with a period. 110
 Error javadoc JavadocStyle First sentence should end with a period. 113
 Error javadoc JavadocStyle First sentence should end with a period. 115
 Error javadoc JavadocStyle First sentence should end with a period. 117
 Error javadoc JavadocStyle First sentence should end with a period. 119
 Error javadoc JavadocStyle First sentence should end with a period. 122
 Error javadoc JavadocStyle First sentence should end with a period. 124
 Error sizes LineLength Line is longer than 120 characters (found 137). 689
 Error whitespace OperatorWrap '||' should be on a new line. 696
 Error whitespace OperatorWrap '||' should be on a new line. 697
 Error sizes LineLength Line is longer than 120 characters (found 124). 835
 Error regexp RegexpSingleline Line has trailing spaces. 1075
 Error regexp RegexpSingleline Line has trailing spaces. 1090

org/apache/commons/text/beta/StringEscapeUtils.java

Severity Category Rule Message Line
 Error misc TodoComment Comment matches to-do format 'TODO:'. 316

org/apache/commons/text/beta/translate/AggregateTranslator.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 58

org/apache/commons/text/beta/translate/CharSequenceTranslator.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 33
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error regexp RegexpSingleline Line has trailing spaces. 70
 Error regexp RegexpSingleline Line has trailing spaces. 111

org/apache/commons/text/beta/translate/CodePointTranslator.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error regexp RegexpSingleline Line has trailing spaces. 43

org/apache/commons/text/beta/translate/CsvTranslators.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error design FinalClass Class CsvTranslators should be declared as final. 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocMethod Missing a Javadoc comment. 37

org/apache/commons/text/beta/translate/EntityArrays.java

Severity Category Rule Message Line
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 393
 Error javadoc JavadocStyle First sentence should end with a period. 430
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 439

org/apache/commons/text/beta/translate/JavaUnicodeEscaper.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 30
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error regexp RegexpSingleline Line has trailing spaces. 71
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error javadoc JavadocStyle First sentence should end with a period. 100
 Error regexp RegexpSingleline Line has trailing spaces. 102

org/apache/commons/text/beta/translate/LookupTranslator.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error naming LocalVariableName Name '_shortest' must match pattern '^[a-z][a-zA-Z0-9]*$'. 56
 Error naming LocalVariableName Name '_longest' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 61

org/apache/commons/text/beta/translate/NumericEntityEscaper.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 103
 Error coding MagicNumber '10' is a magic number. 114

org/apache/commons/text/beta/translate/NumericEntityUnescaper.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error javadoc JavadocType Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 56
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 59
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 80
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 85
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 90
 Error whitespace WhitespaceAround 'while' is not followed by whitespace. 97
 Error whitespace ParenPad '(' is followed by whitespace. 97
 Error whitespace OperatorWrap '||' should be on a new line. 97
 Error whitespace OperatorWrap '||' should be on a new line. 98
 Error whitespace ParenPad ')' is preceded with whitespace. 99
 Error whitespace ParenPad ')' is preceded with whitespace. 99
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 106
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 107
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 110
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 117
 Error coding MagicNumber '16' is a magic number. 118
 Error coding MagicNumber '10' is a magic number. 120
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 122
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 126
 Error coding MagicNumber '0xFFFF' is a magic number. 126

org/apache/commons/text/beta/translate/OctalUnescaper.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 41
 Error whitespace ParenPad ')' is preceded with whitespace. 41
 Error coding MagicNumber '3' is a magic number. 44
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 49
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 51
 Error whitespace ParenPad '(' is followed by whitespace. 56
 Error coding MagicNumber '8' is a magic number. 56
 Error whitespace ParenPad ')' is preceded with whitespace. 56

org/apache/commons/text/beta/translate/SingleLookupTranslator.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocMethod Unused @param tag for 'inputMaps,'. 54
 Error javadoc JavadocMethod Expected @param tag for 'inputMaps'. 56
 Error naming LocalVariableName Name '_shortest' must match pattern '^[a-z][a-zA-Z0-9]*$'. 68
 Error naming LocalVariableName Name '_longest' must match pattern '^[a-z][a-zA-Z0-9]*$'. 69
 Error naming LocalVariableName Name '_shortestValue' must match pattern '^[a-z][a-zA-Z0-9]*$'. 70
 Error naming LocalVariableName Name '_longestValue' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71

org/apache/commons/text/beta/translate/SinglePassTranslator.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '+' should be on a new line. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error javadoc JavadocMethod Unused Javadoc tag. 50

org/apache/commons/text/beta/translate/UnicodeEscaper.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 36
 Error misc TodoComment Comment matches to-do format 'TODO:'. 113
 Error coding MagicNumber '0xffff' is a magic number. 114
 Error coding MagicNumber '12' is a magic number. 118
 Error coding MagicNumber '15' is a magic number. 118
 Error coding MagicNumber '8' is a magic number. 119
 Error coding MagicNumber '15' is a magic number. 119
 Error coding MagicNumber '4' is a magic number. 120
 Error coding MagicNumber '15' is a magic number. 120
 Error coding MagicNumber '15' is a magic number. 121
 Error javadoc JavadocStyle First sentence should end with a period. 126
 Error regexp RegexpSingleline Line has trailing spaces. 128

org/apache/commons/text/beta/translate/UnicodeUnescaper.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error coding MagicNumber '4' is a magic number. 47
 Error coding MagicNumber '4' is a magic number. 49
 Error coding MagicNumber '4' is a magic number. 57
 Error sizes LineLength Line is longer than 120 characters (found 134). 59

org/apache/commons/text/beta/translate/UnicodeUnpairedSurrogateRemover.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 29