The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 1 | Error |
RightCurly | 1 | Error | |
coding | HiddenField | 20 | Error |
MagicNumber | 2 | Error | |
SimplifyBooleanExpression | 1 | Error | |
design | DesignForExtension | 39 | Error |
FinalClass | 2 | Error | |
VisibilityModifier | 5 | Error | |
imports | UnusedImports
|
2 | Error |
javadoc | JavadocMethod | 28 | Error |
JavadocPackage | 3 | Error | |
JavadocType | 1 | Error | |
JavadocVariable | 31 | Error | |
misc | FinalParameters | 39 | Error |
naming | StaticVariableName | 2 | Error |
regexp | RegexpSingleline
|
14 | Error |
sizes | LineLength | 24 | Error |
whitespace | ParenPad | 39 | Error |
WhitespaceAfter | 18 | Error | |
WhitespaceAround | 41 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | design | FinalClass | Class RiakBinaryClient should be declared as final. | 33 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 40 |
Error | design | VisibilityModifier | Variable 'config' must be private and have accessor methods. | 40 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 42 |
Error | misc | FinalParameters | Parameter config should be final. | 42 |
Error | coding | HiddenField | 'config' hides a field. | 42 |
Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 52 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 52 |
Error | naming | StaticVariableName | Name 'INSTANCE_MAP' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 52 |
Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 54 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 54 |
Error | misc | FinalParameters | Parameter riakConfiguration should be final. | 54 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 55 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 61 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 61 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 61 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 70 |
Error | sizes | LineLength | Line is longer than 80 characters (found 113). | 76 |
Error | whitespace | WhitespaceAround | 'assert' is not followed by whitespace. | 82 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 82 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 82 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 85 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 89 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 93 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 47 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 48 |
Error | design | VisibilityModifier | Variable 'client' must be private and have accessor methods. | 48 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 50 |
Error | misc | FinalParameters | Parameter configuration should be final. | 50 |
Error | coding | HiddenField | 'configuration' hides a field. | 50 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 54 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. | 59 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 60 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. | 64 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'readAll' static/final/abstract/empty, or adding allowed annotation for the method. | 69 |
Error | sizes | LineLength | Line is longer than 80 characters (found 105). | 74 |
Error | sizes | LineLength | Line is longer than 80 characters (found 92). | 86 |
Error | sizes | LineLength | Line is longer than 80 characters (found 111). | 101 |
Error | blocks | RightCurly | '}' at column 7 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, do/while or try/catch/finally). | 102 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'startStream' static/final/abstract/empty, or adding allowed annotation for the method. | 113 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'readCurrent' static/final/abstract/empty, or adding allowed annotation for the method. | 118 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'readNew' static/final/abstract/empty, or adding allowed annotation for the method. | 123 |
Error | misc | FinalParameters | Parameter sequence should be final. | 124 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'readRange' static/final/abstract/empty, or adding allowed annotation for the method. | 128 |
Error | misc | FinalParameters | Parameter start should be final. | 129 |
Error | misc | FinalParameters | Parameter end should be final. | 129 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistReader' 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 'RiakBinaryPersistReader' final or making the method 'isRunning' static/final/abstract/empty, or adding allowed annotation for the method. | 133 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 138 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 139 |
Error | coding | MagicNumber | '10000' is a magic number. | 139 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 44 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 44 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 46 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 48 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 49 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
Error | misc | FinalParameters | Parameter configuration should be final. | 51 |
Error | coding | HiddenField | 'configuration' hides a field. | 51 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistWriter' 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 'RiakBinaryPersistWriter' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 55 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistWriter' 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 'RiakBinaryPersistWriter' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. | 60 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 61 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistWriter' 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 'RiakBinaryPersistWriter' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. | 65 |
Error | design | DesignForExtension | Class 'RiakBinaryPersistWriter' 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 'RiakBinaryPersistWriter' final or making the method 'write' static/final/abstract/empty, or adding allowed annotation for the method. | 70 |
Error | misc | FinalParameters | Parameter entry should be final. | 71 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 81 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 81 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 84 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 84 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 85 |
Error | whitespace | WhitespaceAround | 'catch' is not followed by whitespace. | 89 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 89 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 89 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 94 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 94 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 97 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 97 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 98 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 102 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 102 |
Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 105 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 105 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 105 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 106 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 110 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 110 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 113 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 113 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 113 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 114 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 118 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 118 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 121 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 121 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 121 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 122 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 137 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 137 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | design | FinalClass | Class RiakHttpClient should be declared as final. | 38 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 40 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 43 |
Error | design | VisibilityModifier | Variable 'config' must be private and have accessor methods. | 43 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 45 |
Error | design | VisibilityModifier | Variable 'client' must be private and have accessor methods. | 45 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 46 |
Error | design | VisibilityModifier | Variable 'baseURI' must be private and have accessor methods. | 46 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 48 |
Error | misc | FinalParameters | Parameter config should be final. | 48 |
Error | coding | HiddenField | 'config' hides a field. | 48 |
Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 58 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 58 |
Error | naming | StaticVariableName | Name 'INSTANCE_MAP' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 58 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 60 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 60 |
Error | misc | FinalParameters | Parameter riakConfiguration should be final. | 60 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 61 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 67 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 67 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 67 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
Error | whitespace | WhitespaceAround | 'assert' is not followed by whitespace. | 78 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 87 |
Error | whitespace | WhitespaceAround | 'catch' is not followed by whitespace. | 90 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 90 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 91 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 91 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 97 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 101 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - org.apache.http.client.ClientProtocolException. | 33 |
Error | imports | UnusedImports | Unused import - java.net.URI. | 43 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 54 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 55 |
Error | sizes | LineLength | Line is longer than 80 characters (found 92). | 57 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 57 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 59 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
Error | misc | FinalParameters | Parameter configuration should be final. | 61 |
Error | coding | HiddenField | 'configuration' hides a field. | 61 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 65 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. | 70 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 71 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. | 75 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'readAll' static/final/abstract/empty, or adding allowed annotation for the method. | 80 |
Error | sizes | LineLength | Line is longer than 80 characters (found 104). | 90 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 90 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 90 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 90 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 90 |
Error | whitespace | WhitespaceAround | 'while' is not followed by whitespace. | 129 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 129 |
Error | sizes | LineLength | Line is longer than 80 characters (found 111). | 138 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 138 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 138 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 138 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 138 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 138 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 138 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'startStream' static/final/abstract/empty, or adding allowed annotation for the method. | 171 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'readCurrent' static/final/abstract/empty, or adding allowed annotation for the method. | 176 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'readNew' static/final/abstract/empty, or adding allowed annotation for the method. | 181 |
Error | misc | FinalParameters | Parameter sequence should be final. | 182 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'readRange' static/final/abstract/empty, or adding allowed annotation for the method. | 186 |
Error | misc | FinalParameters | Parameter start should be final. | 187 |
Error | misc | FinalParameters | Parameter end should be final. | 187 |
Error | design | DesignForExtension | Class 'RiakHttpPersistReader' 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 'RiakHttpPersistReader' final or making the method 'isRunning' static/final/abstract/empty, or adding allowed annotation for the method. | 191 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 196 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 197 |
Error | coding | MagicNumber | '10000' is a magic number. | 197 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 47 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 48 |
Error | sizes | LineLength | Line is longer than 80 characters (found 92). | 50 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 50 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 52 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 54 |
Error | misc | FinalParameters | Parameter configuration should be final. | 54 |
Error | coding | HiddenField | 'configuration' hides a field. | 54 |
Error | design | DesignForExtension | Class 'RiakHttpPersistWriter' 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 'RiakHttpPersistWriter' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 58 |
Error | design | DesignForExtension | Class 'RiakHttpPersistWriter' 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 'RiakHttpPersistWriter' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. | 63 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 64 |
Error | design | DesignForExtension | Class 'RiakHttpPersistWriter' 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 'RiakHttpPersistWriter' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. | 68 |
Error | design | DesignForExtension | Class 'RiakHttpPersistWriter' 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 'RiakHttpPersistWriter' final or making the method 'write' static/final/abstract/empty, or adding allowed annotation for the method. | 73 |
Error | misc | FinalParameters | Parameter entry should be final. | 74 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 84 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 84 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 87 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 87 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 88 |
Error | whitespace | WhitespaceAround | 'catch' is not followed by whitespace. | 92 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 92 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 92 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 97 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 97 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 100 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 100 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 101 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 105 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 105 |
Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 108 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 108 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 108 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 109 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 113 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 113 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 116 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 116 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 116 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 117 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 121 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 121 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 124 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 124 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 124 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 125 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 131 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 131 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 132 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 132 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 134 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 134 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 135 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 135 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 135 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 135 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 135 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 135 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 21 |
Error | blocks | LeftCurly | '{' at column 1 should be on the previous line. | 33 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 37 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 40 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 42 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 44 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 46 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 48 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 50 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 51 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 54 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 64 |
Error | misc | FinalParameters | Parameter scheme should be final. | 69 |
Error | coding | HiddenField | 'scheme' hides a field. | 69 |
Error | design | DesignForExtension | Class 'RiakConfiguration' looks like designed for extension (can be subclassed), but the method 'withScheme' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RiakConfiguration' final or making the method 'withScheme' static/final/abstract/empty, or adding allowed annotation for the method. | 73 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 73 |
Error | misc | FinalParameters | Parameter scheme should be final. | 73 |
Error | coding | HiddenField | 'scheme' hides a field. | 73 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 79 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 89 |
Error | misc | FinalParameters | Parameter hosts should be final. | 94 |
Error | coding | HiddenField | 'hosts' hides a field. | 94 |
Error | design | DesignForExtension | Class 'RiakConfiguration' looks like designed for extension (can be subclassed), but the method 'withHosts' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RiakConfiguration' final or making the method 'withHosts' static/final/abstract/empty, or adding allowed annotation for the method. | 98 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 98 |
Error | misc | FinalParameters | Parameter hosts should be final. | 98 |
Error | coding | HiddenField | 'hosts' hides a field. | 98 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 104 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 114 |
Error | misc | FinalParameters | Parameter port should be final. | 119 |
Error | coding | HiddenField | 'port' hides a field. | 119 |
Error | design | DesignForExtension | Class 'RiakConfiguration' looks like designed for extension (can be subclassed), but the method 'withPort' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RiakConfiguration' final or making the method 'withPort' static/final/abstract/empty, or adding allowed annotation for the method. | 123 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 123 |
Error | misc | FinalParameters | Parameter port should be final. | 123 |
Error | coding | HiddenField | 'port' hides a field. | 123 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 129 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 139 |
Error | misc | FinalParameters | Parameter defaultBucket should be final. | 144 |
Error | coding | HiddenField | 'defaultBucket' hides a field. | 144 |
Error | design | DesignForExtension | Class 'RiakConfiguration' looks like designed for extension (can be subclassed), but the method 'withDefaultBucket' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RiakConfiguration' final or making the method 'withDefaultBucket' static/final/abstract/empty, or adding allowed annotation for the method. | 148 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 148 |
Error | misc | FinalParameters | Parameter defaultBucket should be final. | 148 |
Error | coding | HiddenField | 'defaultBucket' hides a field. | 148 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 154 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 164 |
Error | misc | FinalParameters | Parameter defaultBucketType should be final. | 169 |
Error | coding | HiddenField | 'defaultBucketType' hides a field. | 169 |
Error | design | DesignForExtension | Class 'RiakConfiguration' looks like designed for extension (can be subclassed), but the method 'withDefaultBucketType' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RiakConfiguration' final or making the method 'withDefaultBucketType' static/final/abstract/empty, or adding allowed annotation for the method. | 173 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 173 |
Error | misc | FinalParameters | Parameter defaultBucketType should be final. | 173 |
Error | coding | HiddenField | 'defaultBucketType' hides a field. | 173 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 179 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 189 |
Error | misc | FinalParameters | Parameter defaultCharset should be final. | 194 |
Error | coding | HiddenField | 'defaultCharset' hides a field. | 194 |
Error | design | DesignForExtension | Class 'RiakConfiguration' looks like designed for extension (can be subclassed), but the method 'withDefaultCharset' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RiakConfiguration' final or making the method 'withDefaultCharset' static/final/abstract/empty, or adding allowed annotation for the method. | 198 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 198 |
Error | misc | FinalParameters | Parameter defaultCharset should be final. | 198 |
Error | coding | HiddenField | 'defaultCharset' hides a field. | 198 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 204 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 214 |
Error | misc | FinalParameters | Parameter defaultContentType should be final. | 219 |
Error | coding | HiddenField | 'defaultContentType' hides a field. | 219 |
Error | design | DesignForExtension | Class 'RiakConfiguration' looks like designed for extension (can be subclassed), but the method 'withDefaultContentType' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RiakConfiguration' final or making the method 'withDefaultContentType' static/final/abstract/empty, or adding allowed annotation for the method. | 223 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 223 |
Error | misc | FinalParameters | Parameter defaultContentType should be final. | 223 |
Error | coding | HiddenField | 'defaultContentType' hides a field. | 223 |
Error | design | DesignForExtension | Class 'RiakConfiguration' 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 'RiakConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. | 228 |
Error | design | DesignForExtension | Class 'RiakConfiguration' 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 'RiakConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. | 233 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 233 |
Error | design | DesignForExtension | Class 'RiakConfiguration' 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 'RiakConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 238 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 238 |
Error | misc | FinalParameters | Parameter name should be final. | 239 |
Error | misc | FinalParameters | Parameter value should be final. | 239 |
Error | design | DesignForExtension | Class 'RiakConfiguration' 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 'RiakConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. | 243 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 243 |
Error | misc | FinalParameters | Parameter name should be final. | 243 |
Error | misc | FinalParameters | Parameter value should be final. | 243 |
Error | design | DesignForExtension | Class 'RiakConfiguration' 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 'RiakConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. | 248 |
Error | sizes | LineLength | Line is longer than 80 characters (found 219). | 250 |
Error | design | DesignForExtension | Class 'RiakConfiguration' 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 'RiakConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. | 253 |
Error | misc | FinalParameters | Parameter other should be final. | 254 |
Error | coding | SimplifyBooleanExpression | Expression can be simplified. | 258 |
Error | sizes | LineLength | Line is longer than 80 characters (found 360). | 262 |