Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
3 0 0 97

Rules

Category Rule Violations Severity
blocks LeftCurly 1  Error
coding AvoidInlineConditionals 1  Error
HiddenField 4  Error
MagicNumber 1  Error
SimplifyBooleanExpression 1  Error
design DesignForExtension 20  Error
javadoc JavadocMethod 9  Error
JavadocPackage 2  Error
JavadocStyle 3  Error
JavadocType 1  Error
JavadocVariable 16  Error
misc FinalParameters 16  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
3  Error
sizes LineLength 12  Error
whitespace ParenPad 6  Error
WhitespaceAfter 1  Error

Details

org/apache/streams/filebuffer/FileBufferConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 19
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 25
 Error javadoc JavadocStyle First sentence should end with a period. 27
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error sizes LineLength Line is longer than 80 characters (found 85). 35
 Error javadoc JavadocStyle First sentence should end with a period. 37
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error javadoc JavadocStyle First sentence should end with a period. 49
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error misc FinalParameters Parameter path should be final. 57
 Error coding HiddenField 'path' hides a field. 57
 Error design DesignForExtension Class 'FileBufferConfiguration' looks like designed for extension (can be subclassed), but the method 'withPath' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'FileBufferConfiguration' final or making the method 'withPath' static/final/abstract/empty, or adding allowed annotation for the method. 61
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error misc FinalParameters Parameter path should be final. 61
 Error coding HiddenField 'path' hides a field. 61
 Error design DesignForExtension Class 'FileBufferConfiguration' 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 'FileBufferConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. 66
 Error design DesignForExtension Class 'FileBufferConfiguration' 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 'FileBufferConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 71
 Error design DesignForExtension Class 'FileBufferConfiguration' 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 'FileBufferConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 77
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter name should be final. 79
 Error misc FinalParameters Parameter value should be final. 79
 Error sizes LineLength Line is longer than 80 characters (found 86). 83
 Error design DesignForExtension Class 'FileBufferConfiguration' 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 'FileBufferConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 83
 Error javadoc JavadocMethod Missing a Javadoc comment. 83
 Error misc FinalParameters Parameter name should be final. 83
 Error misc FinalParameters Parameter value should be final. 83
 Error design DesignForExtension Class 'FileBufferConfiguration' 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 'FileBufferConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. 88
 Error sizes LineLength Line is longer than 80 characters (found 92). 90
 Error design DesignForExtension Class 'FileBufferConfiguration' 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 'FileBufferConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. 93
 Error misc FinalParameters Parameter other should be final. 94
 Error coding SimplifyBooleanExpression Expression can be simplified. 98
 Error sizes LineLength Line is longer than 80 characters (found 124). 102

org/apache/streams/filebuffer/FileBufferPersistReader.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 84). 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error sizes LineLength Line is longer than 80 characters (found 94). 54
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 62
 Error javadoc JavadocVariable Missing a Javadoc comment. 64
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error javadoc JavadocMethod Missing a Javadoc comment. 69
 Error sizes LineLength Line is longer than 80 characters (found 87). 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 74
 Error misc FinalParameters Parameter config should be final. 74
 Error coding HiddenField 'config' hides a field. 74
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 78
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'readAll' static/final/abstract/empty, or adding allowed annotation for the method. 83
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'startStream' static/final/abstract/empty, or adding allowed annotation for the method. 88
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'readCurrent' static/final/abstract/empty, or adding allowed annotation for the method. 93
 Error javadoc JavadocMethod Missing a Javadoc comment. 117
 Error whitespace ParenPad '(' is followed by whitespace. 117
 Error misc FinalParameters Parameter entry should be final. 117
 Error whitespace ParenPad ')' is preceded with whitespace. 117
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'readNew' static/final/abstract/empty, or adding allowed annotation for the method. 121
 Error misc FinalParameters Parameter bigInteger should be final. 122
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'readRange' static/final/abstract/empty, or adding allowed annotation for the method. 126
 Error misc FinalParameters Parameter dateTime should be final. 127
 Error misc FinalParameters Parameter dateTime2 should be final. 127
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'isRunning' static/final/abstract/empty, or adding allowed annotation for the method. 131
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 136
 Error misc FinalParameters Parameter configurationObject should be final. 137
 Error coding MagicNumber '1000' is a magic number. 140
 Error whitespace ParenPad '(' is followed by whitespace. 147
 Error whitespace ParenPad '(' is followed by whitespace. 149
 Error whitespace ParenPad ')' is preceded with whitespace. 149
 Error design DesignForExtension Class 'FileBufferPersistReader' 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 'FileBufferPersistReader' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. 172

org/apache/streams/filebuffer/FileBufferPersistWriter.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 84). 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error sizes LineLength Line is longer than 80 characters (found 94). 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 58
 Error sizes LineLength Line is longer than 80 characters (found 87). 60
 Error javadoc JavadocMethod Missing a Javadoc comment. 63
 Error misc FinalParameters Parameter config should be final. 63
 Error coding HiddenField 'config' hides a field. 63
 Error design DesignForExtension Class 'FileBufferPersistWriter' 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 'FileBufferPersistWriter' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 67
 Error design DesignForExtension Class 'FileBufferPersistWriter' 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 'FileBufferPersistWriter' final or making the method 'write' static/final/abstract/empty, or adding allowed annotation for the method. 72
 Error misc FinalParameters Parameter entry should be final. 73
 Error sizes LineLength Line is longer than 80 characters (found 94). 75
 Error coding AvoidInlineConditionals Avoid inline conditionals. 75
 Error sizes LineLength Line is longer than 80 characters (found 86). 79
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 81
 Error design DesignForExtension Class 'FileBufferPersistWriter' 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 'FileBufferPersistWriter' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 89
 Error misc FinalParameters Parameter configurationObject should be final. 90
 Error whitespace ParenPad '(' is followed by whitespace. 94
 Error design DesignForExtension Class 'FileBufferPersistWriter' 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 'FileBufferPersistWriter' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. 111