The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 12 | Error |
NeedBraces | 1 | Error | |
coding | HiddenField | 8 | Error |
design | DesignForExtension | 11 | Error |
javadoc | JavadocMethod | 28 | Error |
JavadocPackage | 2 | Error | |
JavadocType | 7 | Error | |
JavadocVariable | 5 | Error | |
misc | ArrayTypeStyle | 1 | Error |
FinalParameters | 27 | Error | |
NewlineAtEndOfFile | 2 | Error | |
regexp | RegexpSingleline
|
7 | Error |
sizes | LineLength | 3 | Error |
whitespace | FileTabCharacter | 1 | Error |
WhitespaceAfter | 6 | Error | |
WhitespaceAround | 21 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 5 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 5 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 5 |
Error | misc | FinalParameters | Parameter msg should be final. | 6 |
Error | blocks | LeftCurly | '{' at column 50 should have line break after. | 6 |
Error | misc | FinalParameters | Parameter msg should be final. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 7 |
Error | blocks | LeftCurly | '{' at column 64 should have line break after. | 7 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 8 |
Error | blocks | LeftCurly | '{' at column 52 should have line break after. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 8 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 9 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 11 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 13 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 15 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 17 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 7 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 8 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 10 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 12 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 5 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 5 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 5 |
Error | misc | FinalParameters | Parameter msg should be final. | 6 |
Error | blocks | LeftCurly | '{' at column 50 should have line break after. | 6 |
Error | misc | FinalParameters | Parameter msg should be final. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 7 |
Error | blocks | LeftCurly | '{' at column 64 should have line break after. | 7 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 8 |
Error | blocks | LeftCurly | '{' at column 52 should have line break after. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 4 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 5 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 5 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 5 |
Error | misc | FinalParameters | Parameter msg should be final. | 6 |
Error | blocks | LeftCurly | '{' at column 58 should have line break after. | 6 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 7 |
Error | misc | FinalParameters | Parameter msg should be final. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 7 |
Error | blocks | LeftCurly | '{' at column 72 should have line break after. | 7 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 8 |
Error | blocks | LeftCurly | '{' at column 60 should have line break after. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 5 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 5 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 5 |
Error | misc | FinalParameters | Parameter msg should be final. | 6 |
Error | blocks | LeftCurly | '{' at column 53 should have line break after. | 6 |
Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 7 |
Error | misc | FinalParameters | Parameter msg should be final. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 7 |
Error | blocks | LeftCurly | '{' at column 67 should have line break after. | 7 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 7 |
Error | misc | FinalParameters | Parameter ex should be final. | 8 |
Error | blocks | LeftCurly | '{' at column 55 should have line break after. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 16 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 23 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 24 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 24 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 24 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 25 |
Error | misc | FinalParameters | Parameter id should be final. | 26 |
Error | coding | HiddenField | 'id' hides a field. | 26 |
Error | misc | FinalParameters | Parameter version should be final. | 26 |
Error | coding | HiddenField | 'version' hides a field. | 26 |
Error | misc | FinalParameters | Parameter confirmation should be final. | 26 |
Error | coding | HiddenField | 'confirmation' hides a field. | 26 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 31 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 32 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 32 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
Error | misc | FinalParameters | Parameter id should be final. | 35 |
Error | coding | HiddenField | 'id' hides a field. | 35 |
Error | design | DesignForExtension | Method 'getConfirmation' is not designed for extension - needs to be abstract, final or empty. | 38 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 38 |
Error | design | DesignForExtension | Method 'setConfirmation' is not designed for extension - needs to be abstract, final or empty. | 41 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 41 |
Error | misc | FinalParameters | Parameter confirmation should be final. | 41 |
Error | coding | HiddenField | 'confirmation' hides a field. | 41 |
Error | design | DesignForExtension | Method 'getVersion' is not designed for extension - needs to be abstract, final or empty. | 44 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 44 |
Error | design | DesignForExtension | Method 'setVersion' is not designed for extension - needs to be abstract, final or empty. | 47 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 47 |
Error | misc | FinalParameters | Parameter version should be final. | 47 |
Error | coding | HiddenField | 'version' hides a field. | 47 |
Error | design | DesignForExtension | Method 'getHotelConfirmations' is not designed for extension - needs to be abstract, final or empty. | 50 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 50 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 53 |
Error | misc | FinalParameters | Parameter hotelConfirmations should be final. | 54 |
Error | coding | HiddenField | 'hotelConfirmations' hides a field. | 54 |
Error | design | DesignForExtension | Method 'getHotelReservations' is not designed for extension - needs to be abstract, final or empty. | 57 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 57 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 60 |
Error | misc | FinalParameters | Parameter hotelReservations should be final. | 61 |
Error | coding | HiddenField | 'hotelReservations' hides a field. | 61 |
Error | design | DesignForExtension | Method 'addHotelReservation' is not designed for extension - needs to be abstract, final or empty. | 64 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 64 |
Error | misc | FinalParameters | Parameter reservation should be final. | 64 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 65 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 76 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 78 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 79 |
Error | misc | FinalParameters | Parameter data should be final. | 79 |
Error | misc | ArrayTypeStyle | Array brackets at illegal position. | 79 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 83 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 85 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 86 |
Error | design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 87 |
Error | misc | FinalParameters | Parameter obj should be final. | 88 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 89 |
Error | whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 89 |
Error | whitespace | WhitespaceAround | '==' is not followed by whitespace. | 89 |
Error | whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 90 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 91 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 95 |
Error | design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 96 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 101 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 101 |