The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | MagicNumber | 1 | Error |
design | DesignForExtension | 8 | Error |
HideUtilityClassConstructor | 1 | Error | |
imports | UnusedImports
|
1 | Error |
javadoc | JavadocMethod | 6 | Error |
JavadocVariable | 3 | Error | |
misc | FinalParameters | 10 | Error |
NewlineAtEndOfFile | 4 | Error | |
modifier | RedundantModifier | 2 | Error |
regexp | RegexpSingleline
|
37 | Error |
sizes | LineLength | 20 | Error |
whitespace | FileTabCharacter | 6 | Error |
NoWhitespaceAfter | 1 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 10 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 11 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 11 |
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 13 |
Error | misc | FinalParameters | Parameter args should be final. | 16 |
Error | coding | MagicNumber | '8989' is a magic number. | 17 |
Error | sizes | LineLength | Line is longer than 80 characters (found 105). | 22 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 26 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 31 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 34 |
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 35 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 38 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 40 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 42 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | regexp | RegexpSingleline | Line has trailing spaces. | 5 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 10 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 10 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 13 |
Error | modifier | RedundantModifier | Redundant 'public' modifier. | 16 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 17 |
Error | modifier | RedundantModifier | Redundant 'public' modifier. | 21 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 22 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 20 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
Error | design | DesignForExtension | Method 'start' is not designed for extension - needs to be abstract, final or empty. | 23 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
Error | misc | FinalParameters | Parameter port should be final. | 23 |
Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 24 |
Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 27 |
Error | whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 35 |
Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 37 |
Error | sizes | LineLength | Line is longer than 80 characters (found 106). | 39 |
Error | design | DesignForExtension | Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 56 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 59 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 2 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 4 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - java.io.FileInputStream. | 3 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 20 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 26 |
Error | sizes | LineLength | Line is longer than 80 characters (found 112). | 28 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 30 |
Error | design | DesignForExtension | Method 'doGet' is not designed for extension - needs to be abstract, final or empty. | 32 |
Error | sizes | LineLength | Line is longer than 80 characters (found 125). | 33 |
Error | misc | FinalParameters | Parameter request should be final. | 33 |
Error | misc | FinalParameters | Parameter response should be final. | 33 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 34 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 37 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 39 |
Error | design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 42 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 50 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 52 |
Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 53 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 54 |
Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 55 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 59 |
Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 62 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 63 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 64 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 66 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 13 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 15 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 21 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27 |
Error | design | DesignForExtension | Method 'doHead' is not designed for extension - needs to be abstract, final or empty. | 28 |
Error | sizes | LineLength | Line is longer than 80 characters (found 126). | 29 |
Error | misc | FinalParameters | Parameter request should be final. | 29 |
Error | misc | FinalParameters | Parameter response should be final. | 29 |
Error | design | DesignForExtension | Method 'doGet' is not designed for extension - needs to be abstract, final or empty. | 33 |
Error | sizes | LineLength | Line is longer than 80 characters (found 125). | 34 |
Error | misc | FinalParameters | Parameter request should be final. | 34 |
Error | misc | FinalParameters | Parameter response should be final. | 34 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 36 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 40 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 43 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 44 |
Error | design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 45 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 50 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 54 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 55 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 56 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 57 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 58 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | regexp | RegexpSingleline | Line has trailing spaces. | 13 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 19 |
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 21 |
Error | design | DesignForExtension | Method 'doGet' 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 request should be final. | 21 |
Error | misc | FinalParameters | Parameter response should be final. | 21 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 4 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 3 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. |