Fork me on GitHub

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
3 0 0 71

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
coding HiddenField 4  Error
SimplifyBooleanExpression 1  Error
design DesignForExtension 10  Error
VisibilityModifier 1  Error
imports UnusedImports 3  Error
javadoc JavadocMethod 5  Error
JavadocPackage 2  Error
JavadocStyle 6  Error
JavadocType 1  Error
JavadocVariable 3  Error
misc FinalParameters 7  Error
NewlineAtEndOfFile 1  Error
modifier ModifierOrder 2  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
12  Error
sizes LineLength 11  Error

Details

log4j.properties

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.

org/apache/streams/example/ElasticsearchReindex.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error imports UnusedImports Unused import - org.apache.streams.config.ComponentConfigurator. 21
 Error imports UnusedImports Unused import - org.apache.streams.jackson.StreamsJacksonMapper. 26
 Error imports UnusedImports Unused import - org.apache.streams.local.LocalRuntimeConfiguration. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 38
 Error sizes LineLength Line is longer than 80 characters (found 91). 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 42
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error sizes LineLength Line is longer than 80 characters (found 105). 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter reindex should be final. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter args should be final. 52
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 53
 Error design DesignForExtension Method 'run' is not designed for extension - needs to be abstract, final or empty. 62
 Error sizes LineLength Line is longer than 80 characters (found 111). 65
 Error sizes LineLength Line is longer than 80 characters (found 116). 67
 Error sizes LineLength Line is longer than 80 characters (found 112). 71
 Error sizes LineLength Line is longer than 80 characters (found 173). 72

org/apache/streams/example/ElasticsearchReindexConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 19
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 28
 Error javadoc JavadocStyle First sentence should end with a period. 30
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error regexp RegexpSingleline Line has trailing spaces. 33
 Error javadoc JavadocStyle First sentence should end with a period. 40
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error design DesignForExtension Method 'getSource' is not designed for extension - needs to be abstract, final or empty. 58
 Error javadoc JavadocStyle First sentence should end with a period. 64
 Error regexp RegexpSingleline Line has trailing spaces. 65
 Error regexp RegexpSingleline Line has trailing spaces. 67
 Error design DesignForExtension Method 'setSource' is not designed for extension - needs to be abstract, final or empty. 71
 Error misc FinalParameters Parameter source should be final. 73
 Error coding HiddenField 'source' hides a field. 73
 Error sizes LineLength Line is longer than 80 characters (found 98). 77
 Error design DesignForExtension Method 'withSource' is not designed for extension - needs to be abstract, final or empty. 77
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter source should be final. 77
 Error coding HiddenField 'source' hides a field. 77
 Error javadoc JavadocStyle First sentence should end with a period. 82
 Error regexp RegexpSingleline Line has trailing spaces. 83
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error design DesignForExtension Method 'getDestination' is not designed for extension - needs to be abstract, final or empty. 89
 Error javadoc JavadocStyle First sentence should end with a period. 95
 Error regexp RegexpSingleline Line has trailing spaces. 96
 Error regexp RegexpSingleline Line has trailing spaces. 98
 Error design DesignForExtension Method 'setDestination' is not designed for extension - needs to be abstract, final or empty. 102
 Error misc FinalParameters Parameter destination should be final. 104
 Error coding HiddenField 'destination' hides a field. 104
 Error sizes LineLength Line is longer than 80 characters (found 108). 108
 Error design DesignForExtension Method 'withDestination' is not designed for extension - needs to be abstract, final or empty. 108
 Error javadoc JavadocMethod Missing a Javadoc comment. 108
 Error misc FinalParameters Parameter destination should be final. 108
 Error coding HiddenField 'destination' hides a field. 108
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 113
 Error design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 118
 Error sizes LineLength Line is longer than 80 characters (found 85). 120
 Error design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 123
 Error misc FinalParameters Parameter other should be final. 124
 Error coding SimplifyBooleanExpression Expression can be simplified. 128
 Error sizes LineLength Line is longer than 80 characters (found 92). 131
 Error sizes LineLength Line is longer than 80 characters (found 110). 132