The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 1 | ![]() |
RightCurly | 3 | ![]() | |
design | DesignForExtension | 15 | ![]() |
javadoc | JavadocMethod | 12 | ![]() |
JavadocPackage | 1 | ![]() | |
JavadocType | 4 | ![]() | |
JavadocVariable | 10 | ![]() | |
misc | FinalParameters | 8 | ![]() |
naming | ConstantName | 2 | ![]() |
regexp | RegexpSingleline
|
46 | ![]() |
sizes | LineLength | 7 | ![]() |
whitespace | FileTabCharacter | 2 | ![]() |
OperatorWrap | 1 | ![]() | |
WhitespaceAfter | 7 | ![]() | |
WhitespaceAround | 14 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 37 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 39 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 42 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 45 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 56 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 56 |
![]() |
naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 56 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 57 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 58 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 60 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 61 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 63 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 64 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 64 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 64 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 67 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 68 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 70 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 71 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 72 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 73 |
![]() |
design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 76 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 79 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 85 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 87 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 89 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 90 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 92 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 94 |
![]() |
design | DesignForExtension | Method 'closing' is not designed for extension - needs to be abstract, final or empty. | 97 |
![]() |
design | DesignForExtension | Method 'createBooking' is not designed for extension - needs to be abstract, final or empty. | 102 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 102 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 103 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 104 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 106 |
![]() |
design | DesignForExtension | Method 'addReservation' is not designed for extension - needs to be abstract, final or empty. | 106 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 106 |
![]() |
misc | FinalParameters | Parameter person should be final. | 106 |
![]() |
misc | FinalParameters | Parameter startDate should be final. | 106 |
![]() |
misc | FinalParameters | Parameter endDate should be final. | 106 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 108 |
![]() |
design | DesignForExtension | Method 'cancelBooking' is not designed for extension - needs to be abstract, final or empty. | 111 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 111 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 112 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 114 |
![]() |
javadoc | JavadocMethod | Expected an @return tag. | 125 |
![]() |
design | DesignForExtension | Method 'commit' is not designed for extension - needs to be abstract, final or empty. | 125 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'AgentReservationException'. | 126 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 129 |
![]() |
design | DesignForExtension | Method 'close' is not designed for extension - needs to be abstract, final or empty. | 130 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 130 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 130 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 130 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 132 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 135 |
![]() |
design | DesignForExtension | Method 'afterBegin' is not designed for extension - needs to be abstract, final or empty. | 140 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 141 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 144 |
![]() |
design | DesignForExtension | Method 'beforeCompletion' is not designed for extension - needs to be abstract, final or empty. | 147 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'EJBException'. | 147 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'RemoteException'. | 147 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 148 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 148 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 150 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 152 |
![]() |
design | DesignForExtension | Method 'afterCompletion' is not designed for extension - needs to be abstract, final or empty. | 155 |
![]() |
misc | FinalParameters | Parameter status should be final. | 155 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'status'. | 155 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 156 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 7 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 7 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 38 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 38 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 39 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 40 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 40 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 40 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 123). | 41 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 43 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 44 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 44 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 44 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 46 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 47 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 51 |
![]() |
design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 58 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 69 |
![]() |
blocks | RightCurly | '}' at column 10 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 80 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 81 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 84 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 85 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 86 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 87 |
![]() |
blocks | RightCurly | '}' at column 11 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 94 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 95 |
![]() |
blocks | RightCurly | '}' at column 10 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 98 |
![]() |
blocks | LeftCurly | '{' at column 31 should have line break after. | 99 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 99 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 101 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 104 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 106 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 107 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 109 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 112 |
![]() |
design | DesignForExtension | Method 'close' is not designed for extension - needs to be abstract, final or empty. | 115 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 118 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 118 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 119 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 119 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 120 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 122 |
![]() |
design | DesignForExtension | Method 'getBookingByConfirmation' is not designed for extension - needs to be abstract, final or empty. | 122 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 122 |
![]() |
misc | FinalParameters | Parameter confirmation should be final. | 122 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 127 |
![]() |
design | DesignForExtension | Method 'getBookings' is not designed for extension - needs to be abstract, final or empty. | 127 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 127 |
![]() |
misc | FinalParameters | Parameter index should be final. | 127 |
![]() |
misc | FinalParameters | Parameter count should be final. | 127 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 132 |
![]() |
design | DesignForExtension | Method 'cleanupBooking' is not designed for extension - needs to be abstract, final or empty. | 132 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 132 |
![]() |
misc | FinalParameters | Parameter confirmation should be final. | 132 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 7 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 7 |