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
2 0 0 94

Rules

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

Details

org/apache/streams/example/TwitterUserstreamElasticsearch.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. 32
 Error imports UnusedImports Unused import - org.apache.streams.local.LocalRuntimeConfiguration. 33
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error sizes LineLength Line is longer than 80 characters (found 99). 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 56
 Error sizes LineLength Line is longer than 80 characters (found 101). 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error sizes LineLength Line is longer than 80 characters (found 88). 64
 Error javadoc JavadocVariable Missing a Javadoc comment. 66
 Error javadoc JavadocMethod Missing a Javadoc comment. 68
 Error sizes LineLength Line is longer than 80 characters (found 115). 69
 Error sizes LineLength Line is longer than 80 characters (found 93). 72
 Error javadoc JavadocMethod Missing a Javadoc comment. 72
 Error misc FinalParameters Parameter config should be final. 72
 Error coding HiddenField 'config' hides a field. 72
 Error javadoc JavadocMethod Missing a Javadoc comment. 76
 Error misc FinalParameters Parameter args should be final. 76
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 77
 Error sizes LineLength Line is longer than 80 characters (found 85). 80
 Error design DesignForExtension Method 'run' is not designed for extension - needs to be abstract, final or empty. 86
 Error sizes LineLength Line is longer than 80 characters (found 98). 90
 Error sizes LineLength Line is longer than 80 characters (found 89). 92
 Error sizes LineLength Line is longer than 80 characters (found 140). 94
 Error sizes LineLength Line is longer than 80 characters (found 105). 95
 Error sizes LineLength Line is longer than 80 characters (found 141). 96
 Error sizes LineLength Line is longer than 80 characters (found 108). 98
 Error sizes LineLength Line is longer than 80 characters (found 87). 102
 Error sizes LineLength Line is longer than 80 characters (found 147). 103
 Error sizes LineLength Line is longer than 80 characters (found 159). 104
 Error sizes LineLength Line is longer than 80 characters (found 151). 105
 Error sizes LineLength Line is longer than 80 characters (found 160). 106
 Error sizes LineLength Line is longer than 80 characters (found 155). 107
 Error sizes LineLength Line is longer than 80 characters (found 149). 108
 Error javadoc JavadocType Missing a Javadoc comment. 114
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 116
 Error javadoc JavadocMethod Missing a Javadoc comment. 116
 Error design DesignForExtension Method 'process' is not designed for extension - needs to be abstract, final or empty. 120
 Error misc FinalParameters Parameter entry should be final. 121
 Error sizes LineLength Line is longer than 80 characters (found 93). 123
 Error misc FinalParameters Parameter configurationObject should be final. 134

org/apache/streams/example/TwitterUserstreamElasticsearchConfiguration.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 'getTwitter' 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 'setTwitter' is not designed for extension - needs to be abstract, final or empty. 71
 Error misc FinalParameters Parameter twitter should be final. 73
 Error coding HiddenField 'twitter' hides a field. 73
 Error sizes LineLength Line is longer than 80 characters (found 104). 77
 Error design DesignForExtension Method 'withTwitter' 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 twitter should be final. 77
 Error coding HiddenField 'twitter' 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 'getElasticsearch' 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 'setElasticsearch' is not designed for extension - needs to be abstract, final or empty. 102
 Error sizes LineLength Line is longer than 80 characters (found 82). 104
 Error misc FinalParameters Parameter elasticsearch should be final. 104
 Error coding HiddenField 'elasticsearch' hides a field. 104
 Error sizes LineLength Line is longer than 80 characters (found 122). 108
 Error design DesignForExtension Method 'withElasticsearch' 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 elasticsearch should be final. 108
 Error coding HiddenField 'elasticsearch' 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 88). 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 sizes LineLength Line is longer than 80 characters (found 86). 128
 Error coding SimplifyBooleanExpression Expression can be simplified. 128
 Error sizes LineLength Line is longer than 80 characters (found 112). 131
 Error sizes LineLength Line is longer than 80 characters (found 116). 132