The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 3 | ![]() |
NeedBraces | 1 | ![]() | |
coding | HiddenField | 22 | ![]() |
MagicNumber | 2 | ![]() | |
SimplifyBooleanExpression | 3 | ![]() | |
design | DesignForExtension | 40 | ![]() |
VisibilityModifier | 5 | ![]() | |
javadoc | JavadocMethod | 25 | ![]() |
JavadocPackage | 2 | ![]() | |
JavadocStyle | 13 | ![]() | |
JavadocType | 4 | ![]() | |
JavadocVariable | 32 | ![]() | |
misc | FinalParameters | 42 | ![]() |
modifier | RedundantModifier | 2 | ![]() |
regexp | RegexpSingleline
|
16 | ![]() |
sizes | LineLength | 40 | ![]() |
whitespace | ParenPad | 8 | ![]() |
WhitespaceAfter | 1 | ![]() | |
WhitespaceAround | 6 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 22 |
![]() |
blocks | LeftCurly | '{' at column 1 should be on the previous line. | 31 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 42 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 45 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 51 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 53 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 57 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 58 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 60 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 65 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 66 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 68 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 71 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 81 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 84 |
![]() |
misc | FinalParameters | Parameter key should be final. | 90 |
![]() |
coding | HiddenField | 'key' hides a field. | 90 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'withKey' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'withKey' static/final/abstract/empty, or adding allowed annotation for the method. | 94 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 94 |
![]() |
misc | FinalParameters | Parameter key should be final. | 94 |
![]() |
coding | HiddenField | 'key' hides a field. | 94 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 99 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 102 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 112 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 115 |
![]() |
misc | FinalParameters | Parameter secretKey should be final. | 121 |
![]() |
coding | HiddenField | 'secretKey' hides a field. | 121 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'withSecretKey' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'withSecretKey' static/final/abstract/empty, or adding allowed annotation for the method. | 125 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 125 |
![]() |
misc | FinalParameters | Parameter secretKey should be final. | 125 |
![]() |
coding | HiddenField | 'secretKey' hides a field. | 125 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 130 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 132 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 142 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 144 |
![]() |
misc | FinalParameters | Parameter protocol should be final. | 150 |
![]() |
coding | HiddenField | 'protocol' hides a field. | 150 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 154 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'withProtocol' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'withProtocol' static/final/abstract/empty, or adding allowed annotation for the method. | 154 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 154 |
![]() |
misc | FinalParameters | Parameter protocol should be final. | 154 |
![]() |
coding | HiddenField | 'protocol' hides a field. | 154 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 159 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 161 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 171 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 173 |
![]() |
misc | FinalParameters | Parameter region should be final. | 179 |
![]() |
coding | HiddenField | 'region' hides a field. | 179 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'withRegion' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'withRegion' static/final/abstract/empty, or adding allowed annotation for the method. | 183 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 183 |
![]() |
misc | FinalParameters | Parameter region should be final. | 183 |
![]() |
coding | HiddenField | 'region' hides a field. | 183 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'toString' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. | 188 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'getAdditionalProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. | 193 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 193 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'setAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 199 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 199 |
![]() |
misc | FinalParameters | Parameter name should be final. | 201 |
![]() |
misc | FinalParameters | Parameter value should be final. | 201 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 205 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'withAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 205 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 205 |
![]() |
misc | FinalParameters | Parameter name should be final. | 205 |
![]() |
misc | FinalParameters | Parameter value should be final. | 205 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. | 210 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 141). | 212 |
![]() |
design | DesignForExtension | Class 'KinesisConfiguration' looks like designed for extension (can be subclassed), but the method 'equals' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. | 215 |
![]() |
misc | FinalParameters | Parameter other should be final. | 216 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 220 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 213). | 224 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 227 |
![]() |
modifier | RedundantModifier | Redundant 'static' modifier. | 228 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 230 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 231 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 232 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 131). | 233 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 233 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 241 |
![]() |
modifier | RedundantModifier | Redundant 'private' modifier. | 241 |
![]() |
misc | FinalParameters | Parameter value should be final. | 241 |
![]() |
coding | HiddenField | 'value' hides a field. | 241 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 251 |
![]() |
misc | FinalParameters | Parameter value should be final. | 252 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 55 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 59 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 59 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
![]() |
design | VisibilityModifier | Variable 'persistQueue' must be private and have accessor methods. | 61 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 63 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 65 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 67 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 67 |
![]() |
design | VisibilityModifier | Variable 'pollInterval' must be private and have accessor methods. | 67 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 69 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 71 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 73 |
![]() |
design | VisibilityModifier | Variable 'client' must be private and have accessor methods. | 73 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 76 |
![]() |
coding | HiddenField | 'config' hides a field. | 79 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 108). | 80 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 85 |
![]() |
misc | FinalParameters | Parameter config should be final. | 87 |
![]() |
coding | HiddenField | 'config' hides a field. | 87 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'config'. | 87 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'setConfig' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'setConfig' static/final/abstract/empty, or adding allowed annotation for the method. | 92 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 92 |
![]() |
misc | FinalParameters | Parameter config should be final. | 92 |
![]() |
coding | HiddenField | 'config' hides a field. | 92 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 96 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'startStream' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'startStream' static/final/abstract/empty, or adding allowed annotation for the method. | 101 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 110 |
![]() |
whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 110 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 110 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 112 |
![]() |
whitespace | WhitespaceAround | 'for' is not followed by whitespace. | 114 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 114 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 114 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 115 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'readAll' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'readAll' static/final/abstract/empty, or adding allowed annotation for the method. | 123 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'readCurrent' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'readCurrent' static/final/abstract/empty, or adding allowed annotation for the method. | 128 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 128 |
![]() |
whitespace | WhitespaceAround | 'synchronized' is not followed by whitespace. | 131 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 131 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 131 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'readNew' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'readNew' static/final/abstract/empty, or adding allowed annotation for the method. | 138 |
![]() |
misc | FinalParameters | Parameter bigInteger should be final. | 139 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'readRange' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'readRange' static/final/abstract/empty, or adding allowed annotation for the method. | 143 |
![]() |
misc | FinalParameters | Parameter dateTime should be final. | 144 |
![]() |
misc | FinalParameters | Parameter dateTime2 should be final. | 144 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'isRunning' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'isRunning' static/final/abstract/empty, or adding allowed annotation for the method. | 148 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. | 153 |
![]() |
misc | FinalParameters | Parameter configurationObject should be final. | 154 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 158 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 161 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 164 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 165 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReader' looks like designed for extension (can be subclassed), but the method 'cleanUp' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReader' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. | 171 |
![]() |
whitespace | WhitespaceAround | 'while' is not followed by whitespace. | 174 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 174 |
![]() |
coding | MagicNumber | '5' is a magic number. | 176 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 177 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 177 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 39 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 45 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 45 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 47 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 48 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 49 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 51 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 53 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 53 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 58 |
![]() |
misc | FinalParameters | Parameter reader should be final. | 58 |
![]() |
coding | HiddenField | 'reader' hides a field. | 58 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'reader'. | 58 |
![]() |
misc | FinalParameters | Parameter streamName should be final. | 58 |
![]() |
coding | HiddenField | 'streamName' hides a field. | 58 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'streamName'. | 58 |
![]() |
misc | FinalParameters | Parameter shardId should be final. | 58 |
![]() |
coding | HiddenField | 'shardId' hides a field. | 58 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'shardId'. | 58 |
![]() |
design | DesignForExtension | Class 'KinesisPersistReaderTask' looks like designed for extension (can be subclassed), but the method 'run' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistReaderTask' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. | 64 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 72 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 76 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 171). | 87 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 105 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 105 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 59 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 59 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
![]() |
design | VisibilityModifier | Variable 'persistQueue' must be private and have accessor methods. | 61 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 63 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 65 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 67 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 69 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 71 |
![]() |
design | VisibilityModifier | Variable 'client' must be private and have accessor methods. | 71 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 74 |
![]() |
coding | HiddenField | 'config' hides a field. | 77 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 108). | 78 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 83 |
![]() |
misc | FinalParameters | Parameter config should be final. | 85 |
![]() |
coding | HiddenField | 'config' hides a field. | 85 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'config'. | 85 |
![]() |
design | DesignForExtension | Class 'KinesisPersistWriter' looks like designed for extension (can be subclassed), but the method 'setConfig' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistWriter' final or making the method 'setConfig' static/final/abstract/empty, or adding allowed annotation for the method. | 90 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 90 |
![]() |
misc | FinalParameters | Parameter config should be final. | 90 |
![]() |
coding | HiddenField | 'config' hides a field. | 90 |
![]() |
design | DesignForExtension | Class 'KinesisPersistWriter' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistWriter' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 94 |
![]() |
design | DesignForExtension | Class 'KinesisPersistWriter' looks like designed for extension (can be subclassed), but the method 'write' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistWriter' final or making the method 'write' static/final/abstract/empty, or adding allowed annotation for the method. | 99 |
![]() |
misc | FinalParameters | Parameter entry should be final. | 100 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 102 |
![]() |
design | DesignForExtension | Class 'KinesisPersistWriter' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistWriter' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. | 116 |
![]() |
misc | FinalParameters | Parameter configurationObject should be final. | 117 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 121 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 124 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 128 |
![]() |
design | DesignForExtension | Class 'KinesisPersistWriter' looks like designed for extension (can be subclassed), but the method 'cleanUp' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisPersistWriter' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. | 135 |
![]() |
coding | MagicNumber | '5' is a magic number. | 138 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 22 |
![]() |
blocks | LeftCurly | '{' at column 1 should be on the previous line. | 30 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 37 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 51 |
![]() |
misc | FinalParameters | Parameter streams should be final. | 57 |
![]() |
coding | HiddenField | 'streams' hides a field. | 57 |
![]() |
design | DesignForExtension | Class 'KinesisReaderConfiguration' looks like designed for extension (can be subclassed), but the method 'withStreams' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisReaderConfiguration' final or making the method 'withStreams' static/final/abstract/empty, or adding allowed annotation for the method. | 61 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
![]() |
misc | FinalParameters | Parameter streams should be final. | 61 |
![]() |
coding | HiddenField | 'streams' hides a field. | 61 |
![]() |
design | DesignForExtension | Class 'KinesisReaderConfiguration' looks like designed for extension (can be subclassed), but the method 'toString' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisReaderConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. | 66 |
![]() |
design | DesignForExtension | Class 'KinesisReaderConfiguration' looks like designed for extension (can be subclassed), but the method 'getAdditionalProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisReaderConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. | 71 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
![]() |
design | DesignForExtension | Class 'KinesisReaderConfiguration' looks like designed for extension (can be subclassed), but the method 'setAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisReaderConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 77 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 77 |
![]() |
misc | FinalParameters | Parameter name should be final. | 79 |
![]() |
misc | FinalParameters | Parameter value should be final. | 79 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 83 |
![]() |
design | DesignForExtension | Class 'KinesisReaderConfiguration' looks like designed for extension (can be subclassed), but the method 'withAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisReaderConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 83 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 83 |
![]() |
misc | FinalParameters | Parameter name should be final. | 83 |
![]() |
misc | FinalParameters | Parameter value should be final. | 83 |
![]() |
design | DesignForExtension | Class 'KinesisReaderConfiguration' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisReaderConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. | 88 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 90 |
![]() |
design | DesignForExtension | Class 'KinesisReaderConfiguration' looks like designed for extension (can be subclassed), but the method 'equals' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisReaderConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. | 93 |
![]() |
misc | FinalParameters | Parameter other should be final. | 94 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 98 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 130). | 102 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 19 |
![]() |
blocks | LeftCurly | '{' at column 1 should be on the previous line. | 27 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 47 |
![]() |
misc | FinalParameters | Parameter stream should be final. | 53 |
![]() |
coding | HiddenField | 'stream' hides a field. | 53 |
![]() |
design | DesignForExtension | Class 'KinesisWriterConfiguration' looks like designed for extension (can be subclassed), but the method 'withStream' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisWriterConfiguration' final or making the method 'withStream' static/final/abstract/empty, or adding allowed annotation for the method. | 57 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 57 |
![]() |
misc | FinalParameters | Parameter stream should be final. | 57 |
![]() |
coding | HiddenField | 'stream' hides a field. | 57 |
![]() |
design | DesignForExtension | Class 'KinesisWriterConfiguration' looks like designed for extension (can be subclassed), but the method 'toString' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisWriterConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. | 62 |
![]() |
design | DesignForExtension | Class 'KinesisWriterConfiguration' looks like designed for extension (can be subclassed), but the method 'getAdditionalProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisWriterConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. | 67 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 67 |
![]() |
design | DesignForExtension | Class 'KinesisWriterConfiguration' looks like designed for extension (can be subclassed), but the method 'setAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisWriterConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 73 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 73 |
![]() |
misc | FinalParameters | Parameter name should be final. | 75 |
![]() |
misc | FinalParameters | Parameter value should be final. | 75 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 79 |
![]() |
design | DesignForExtension | Class 'KinesisWriterConfiguration' looks like designed for extension (can be subclassed), but the method 'withAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisWriterConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 79 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 79 |
![]() |
misc | FinalParameters | Parameter name should be final. | 79 |
![]() |
misc | FinalParameters | Parameter value should be final. | 79 |
![]() |
design | DesignForExtension | Class 'KinesisWriterConfiguration' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisWriterConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. | 84 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 86 |
![]() |
design | DesignForExtension | Class 'KinesisWriterConfiguration' looks like designed for extension (can be subclassed), but the method 'equals' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'KinesisWriterConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. | 89 |
![]() |
misc | FinalParameters | Parameter other should be final. | 90 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 94 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 128). | 98 |