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
4 0 0 141

Rules

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

Details

org/apache/streams/example/ElasticsearchHdfs.java

Severity Category Rule Message Line
 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 sizes LineLength Line is longer than 80 characters (found 82). 34
 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 88). 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 102). 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter config should be final. 48
 Error coding HiddenField 'config' hides a field. 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. 59
 Error sizes LineLength Line is longer than 80 characters (found 111). 62
 Error sizes LineLength Line is longer than 80 characters (found 95). 63
 Error sizes LineLength Line is longer than 80 characters (found 112). 67
 Error sizes LineLength Line is longer than 80 characters (found 158). 68

org/apache/streams/example/ElasticsearchHdfsConfiguration.java

Severity Category Rule Message Line
 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 95). 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 96). 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 86). 131
 Error sizes LineLength Line is longer than 80 characters (found 110). 132

org/apache/streams/example/HdfsElasticsearch.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 sizes LineLength Line is longer than 80 characters (found 82). 34
 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 88). 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 102). 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. 59
 Error sizes LineLength Line is longer than 80 characters (found 93). 62
 Error sizes LineLength Line is longer than 80 characters (found 116). 63
 Error sizes LineLength Line is longer than 80 characters (found 100). 67
 Error sizes LineLength Line is longer than 80 characters (found 167). 68

org/apache/streams/example/HdfsElasticsearchConfiguration.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 86). 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 105). 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 86). 131
 Error sizes LineLength Line is longer than 80 characters (found 110). 132