Checkstyle Results

The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
7 0 0 291

Rules

Category Rule Violations Severity
blocks LeftCurly 3  Error
coding AvoidInlineConditionals 2  Error
HiddenField 14  Error
design DesignForExtension 31  Error
HideUtilityClassConstructor 1  Error
javadoc JavadocMethod 41  Error
JavadocPackage 2  Error
JavadocType 7  Error
JavadocVariable 18  Error
misc FinalParameters 38  Error
modifier RedundantModifier 8  Error
naming ConstantName 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
43  Error
sizes LineLength 12  Error
whitespace OperatorWrap 2  Error
WhitespaceAround 68  Error

Details

info/ejava/examples/jaxrs/todos/client/ResponseUtil.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 5
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 5
 Error javadoc JavadocMethod Missing a Javadoc comment. 6
 Error misc FinalParameters Parameter response should be final. 6
 Error misc FinalParameters Parameter type should be final. 6
 Error sizes LineLength Line is longer than 80 characters (found 93). 7
 Error sizes LineLength Line is longer than 80 characters (found 86). 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error misc FinalParameters Parameter message should be final. 18
 Error misc FinalParameters Parameter response should be final. 18
 Error sizes LineLength Line is longer than 80 characters (found 94). 19
 Error sizes LineLength Line is longer than 80 characters (found 98). 20
 Error regexp RegexpSingleline Line has trailing spaces. 24

info/ejava/examples/jaxrs/todos/client/TodosJaxRsClient.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 8
 Error javadoc JavadocVariable Missing a Javadoc comment. 9
 Error modifier RedundantModifier Redundant 'static' modifier. 9
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error modifier RedundantModifier Redundant 'static' modifier. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 11
 Error modifier RedundantModifier Redundant 'static' modifier. 11
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error modifier RedundantModifier Redundant 'static' modifier. 12
 Error javadoc JavadocVariable Missing a Javadoc comment. 13
 Error modifier RedundantModifier Redundant 'static' modifier. 13
 Error javadoc JavadocVariable Missing a Javadoc comment. 14
 Error modifier RedundantModifier Redundant 'static' modifier. 14
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error modifier RedundantModifier Redundant 'static' modifier. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error modifier RedundantModifier Redundant 'static' modifier. 16
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 22
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 28

info/ejava/examples/jaxrs/todos/client/TodosJaxRsClientImpl.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 20
 Error sizes LineLength Line is longer than 80 characters (found 93). 21
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error naming ConstantName Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 21
 Error javadoc JavadocVariable Missing a Javadoc comment. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error misc FinalParameters Parameter client should be final. 26
 Error coding HiddenField 'client' hides a field. 26
 Error misc FinalParameters Parameter baseUrl should be final. 26
 Error coding HiddenField 'baseUrl' hides a field. 26
 Error misc FinalParameters Parameter mediaType should be final. 26
 Error coding HiddenField 'mediaType' hides a field. 26
 Error design DesignForExtension Method 'setMediaType' is not designed for extension - needs to be abstract, final or empty. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error misc FinalParameters Parameter mediaType should be final. 31
 Error coding HiddenField 'mediaType' hides a field. 31
 Error design DesignForExtension Method 'setMediaType' is not designed for extension - needs to be abstract, final or empty. 34
 Error javadoc JavadocMethod Missing a Javadoc comment. 34
 Error misc FinalParameters Parameter mediaType should be final. 34
 Error coding HiddenField 'mediaType' hides a field. 34
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error javadoc JavadocMethod Missing a Javadoc comment. 38
 Error misc FinalParameters Parameter path should be final. 38
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 40
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 40
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter object should be final. 48
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 50
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 50
 Error regexp RegexpSingleline Line has trailing spaces. 63
 Error regexp RegexpSingleline Line has trailing spaces. 64
 Error design DesignForExtension Method 'deleteAll' is not designed for extension - needs to be abstract, final or empty. 64
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error regexp RegexpSingleline Line has trailing spaces. 74
 Error design DesignForExtension Method 'getTodoLists' is not designed for extension - needs to be abstract, final or empty. 75
 Error misc FinalParameters Parameter offset should be final. 76
 Error misc FinalParameters Parameter limit should be final. 76
 Error regexp RegexpSingleline Line has trailing spaces. 78
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 80
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 80
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 81
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 81
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 83
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 83
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 84
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 84
 Error regexp RegexpSingleline Line has trailing spaces. 87
 Error design DesignForExtension Method 'createTodoList' is not designed for extension - needs to be abstract, final or empty. 93
 Error misc FinalParameters Parameter todoList should be final. 94
 Error regexp RegexpSingleline Line has trailing spaces. 97
 Error sizes LineLength Line is longer than 80 characters (found 100). 99
 Error regexp RegexpSingleline Line has trailing spaces. 103
 Error regexp RegexpSingleline Line has trailing spaces. 105
 Error regexp RegexpSingleline Line has trailing spaces. 108
 Error design DesignForExtension Method 'getTodoList' is not designed for extension - needs to be abstract, final or empty. 112
 Error misc FinalParameters Parameter listName should be final. 113
 Error regexp RegexpSingleline Line has trailing spaces. 117
 Error design DesignForExtension Method 'deleteTodoList' is not designed for extension - needs to be abstract, final or empty. 123
 Error misc FinalParameters Parameter listName should be final. 124
 Error regexp RegexpSingleline Line has trailing spaces. 128
 Error design DesignForExtension Method 'renameTodoList' is not designed for extension - needs to be abstract, final or empty. 134
 Error misc FinalParameters Parameter oldName should be final. 135
 Error misc FinalParameters Parameter newName should be final. 135
 Error regexp RegexpSingleline Line has trailing spaces. 140
 Error design DesignForExtension Method 'addTodoItem' is not designed for extension - needs to be abstract, final or empty. 146
 Error misc FinalParameters Parameter listName should be final. 147
 Error misc FinalParameters Parameter item should be final. 147
 Error regexp RegexpSingleline Line has trailing spaces. 151
 Error regexp RegexpSingleline Line has trailing spaces. 152
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 152
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 152
 Error whitespace OperatorWrap '?' should be on a new line. 152
 Error coding AvoidInlineConditionals Avoid inline conditionals. 152
 Error whitespace OperatorWrap ':' should be on a new line. 153
 Error sizes LineLength Line is longer than 80 characters (found 81). 154
 Error regexp RegexpSingleline Line has trailing spaces. 155
 Error design DesignForExtension Method 'updateTodoItem' is not designed for extension - needs to be abstract, final or empty. 161
 Error misc FinalParameters Parameter listName should be final. 162
 Error misc FinalParameters Parameter item should be final. 162
 Error sizes LineLength Line is longer than 80 characters (found 93). 163
 Error regexp RegexpSingleline Line has trailing spaces. 166
 Error sizes LineLength Line is longer than 80 characters (found 91). 168
 Error design DesignForExtension Method 'deleteTodoItem' is not designed for extension - needs to be abstract, final or empty. 172
 Error misc FinalParameters Parameter listName should be final. 173
 Error misc FinalParameters Parameter itemName should be final. 173
 Error sizes LineLength Line is longer than 80 characters (found 87). 174
 Error regexp RegexpSingleline Line has trailing spaces. 177

info/ejava/examples/jaxrs/todos/dto/MessageDTO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 7
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 7
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 7
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 7
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 12
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error misc FinalParameters Parameter message should be final. 13
 Error regexp RegexpSingleline Line has trailing spaces. 16
 Error design DesignForExtension Method 'getText' is not designed for extension - needs to be abstract, final or empty. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 17
 Error design DesignForExtension Method 'setText' is not designed for extension - needs to be abstract, final or empty. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error misc FinalParameters Parameter text should be final. 20
 Error coding HiddenField 'text' hides a field. 20
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 24

info/ejava/examples/jaxrs/todos/dto/TodoItemDTO.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 7
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 7
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 7
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 7
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 11
 Error regexp RegexpSingleline Line has trailing spaces. 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 13
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error misc FinalParameters Parameter name should be final. 14
 Error coding HiddenField 'name' hides a field. 14
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error design DesignForExtension Method 'getName' is not designed for extension - needs to be abstract, final or empty. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error design DesignForExtension Method 'setName' is not designed for extension - needs to be abstract, final or empty. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error misc FinalParameters Parameter name should be final. 21
 Error coding HiddenField 'name' hides a field. 21
 Error design DesignForExtension Method 'getPriority' is not designed for extension - needs to be abstract, final or empty. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error design DesignForExtension Method 'setPriority' is not designed for extension - needs to be abstract, final or empty. 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error misc FinalParameters Parameter priority should be final. 28
 Error coding HiddenField 'priority' hides a field. 28
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 32

info/ejava/examples/jaxrs/todos/dto/TodoListDTO.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 12
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 12
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 12
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 12
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 12
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 18
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 18
 Error regexp RegexpSingleline Line has trailing spaces. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error misc FinalParameters Parameter name should be final. 20
 Error coding HiddenField 'name' hides a field. 20
 Error design DesignForExtension Method 'getName' is not designed for extension - needs to be abstract, final or empty. 23
 Error javadoc JavadocMethod Missing a Javadoc comment. 23
 Error design DesignForExtension Method 'setName' is not designed for extension - needs to be abstract, final or empty. 26
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error misc FinalParameters Parameter name should be final. 26
 Error coding HiddenField 'name' hides a field. 26
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error design DesignForExtension Method 'getTodoItems' is not designed for extension - needs to be abstract, final or empty. 30
 Error javadoc JavadocMethod Missing a Javadoc comment. 30
 Error design DesignForExtension Method 'setTodoItems' is not designed for extension - needs to be abstract, final or empty. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 33
 Error misc FinalParameters Parameter todoItems should be final. 33
 Error coding HiddenField 'todoItems' hides a field. 33
 Error design DesignForExtension Method 'withTodoItem' is not designed for extension - needs to be abstract, final or empty. 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 36
 Error misc FinalParameters Parameter todoItem should be final. 36
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 37
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 37
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 37
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 37
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 40
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 40
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error design DesignForExtension Method 'getListItem' is not designed for extension - needs to be abstract, final or empty. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error misc FinalParameters Parameter itemName should be final. 47
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 48
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 48
 Error blocks LeftCurly '{' at column 30 should have line break after. 48
 Error whitespace WhitespaceAround '->' is not preceded with whitespace. 50
 Error whitespace WhitespaceAround '->' is not followed by whitespace. 50
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 55
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 60
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 60
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 61
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 61
 Error sizes LineLength Line is longer than 80 characters (found 83). 63
 Error blocks LeftCurly '{' at column 29 should have line break after. 63
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 65
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 65

info/ejava/examples/jaxrs/todos/dto/TodoListListDTO.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 9
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 9
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 9
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 9
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 9
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 14
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 14
 Error javadoc JavadocMethod Missing a Javadoc comment. 15
 Error misc FinalParameters Parameter todoLists should be final. 15
 Error coding HiddenField 'todoLists' hides a field. 15
 Error regexp RegexpSingleline Line has trailing spaces. 18
 Error design DesignForExtension Method 'getTodoLists' is not designed for extension - needs to be abstract, final or empty. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 19
 Error design DesignForExtension Method 'setTodoLists' is not designed for extension - needs to be abstract, final or empty. 22
 Error javadoc JavadocMethod Missing a Javadoc comment. 22
 Error misc FinalParameters Parameter todoLists should be final. 22
 Error coding HiddenField 'todoLists' hides a field. 22
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error design DesignForExtension Method 'withTodoList' is not designed for extension - needs to be abstract, final or empty. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error misc FinalParameters Parameter todoList should be final. 25
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 26
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 26
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 26
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 26
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 29
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 29
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 34
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 38
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 38
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 39
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 39
 Error sizes LineLength Line is longer than 80 characters (found 83). 41
 Error blocks LeftCurly '{' at column 29 should have line break after. 41
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 43
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 43
 Error regexp RegexpSingleline Line has trailing spaces. 49
 Error design DesignForExtension Method 'getCount' is not designed for extension - needs to be abstract, final or empty. 50
 Error javadoc JavadocMethod Missing a Javadoc comment. 50
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 51
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 51
 Error coding AvoidInlineConditionals Avoid inline conditionals. 51
 Error regexp RegexpSingleline Line has trailing spaces. 53
 Error javadoc JavadocMethod Missing a Javadoc comment. 53
 Error misc FinalParameters Parameter count should be final. 53