The following document contains the results of Checkstyle 9.3 with sun_checks.xml ruleset.
Files | ![]() |
![]() |
![]() |
---|---|---|---|
22 | 0 | 0 | 129 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 1 | ![]() |
coding | HiddenField | 6 | ![]() |
design | DesignForExtension | 49 | ![]() |
FinalClass | 1 | ![]() | |
imports | AvoidStarImport | 1 | ![]() |
misc | FinalParameters | 51 | ![]() |
regexp | RegexpSingleline
|
18 | ![]() |
whitespace | NoWhitespaceAfter | 1 | ![]() |
OperatorWrap | 1 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'All' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'All' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
design | DesignForExtension | Class 'All' looks like designed for extension (can be subclassed), but the method 'add' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'All' final or making the method 'add' static/final/abstract/empty, or adding allowed annotation for the method. | 34 |
![]() |
misc | FinalParameters | Parameter builder should be final. | 34 |
![]() |
coding | HiddenField | 'builder' hides a field. | 34 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'Any' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Any' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
design | DesignForExtension | Class 'Any' looks like designed for extension (can be subclassed), but the method 'add' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Any' final or making the method 'add' static/final/abstract/empty, or adding allowed annotation for the method. | 34 |
![]() |
misc | FinalParameters | Parameter builder should be final. | 34 |
![]() |
coding | HiddenField | 'builder' hides a field. | 34 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
design | DesignForExtension | Class 'Copyright' looks like designed for extension (can be subclassed), but the method 'setStart' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Copyright' final or making the method 'setStart' static/final/abstract/empty, or adding allowed annotation for the method. | 28 |
![]() |
misc | FinalParameters | Parameter start should be final. | 28 |
![]() |
design | DesignForExtension | Class 'Copyright' looks like designed for extension (can be subclassed), but the method 'setEnd' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Copyright' final or making the method 'setEnd' static/final/abstract/empty, or adding allowed annotation for the method. | 32 |
![]() |
misc | FinalParameters | Parameter end should be final. | 32 |
![]() |
design | DesignForExtension | Class 'Copyright' looks like designed for extension (can be subclassed), but the method 'setOwner' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Copyright' final or making the method 'setOwner' static/final/abstract/empty, or adding allowed annotation for the method. | 36 |
![]() |
misc | FinalParameters | Parameter owner should be final. | 36 |
![]() |
design | DesignForExtension | Class 'Copyright' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Copyright' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 44 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'Family' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Family' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 27 |
![]() |
design | DesignForExtension | Class 'Family' looks like designed for extension (can be subclassed), but the method 'setId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Family' final or making the method 'setId' static/final/abstract/empty, or adding allowed annotation for the method. | 31 |
![]() |
misc | FinalParameters | Parameter id should be final. | 31 |
![]() |
design | DesignForExtension | Class 'Family' looks like designed for extension (can be subclassed), but the method 'setName' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Family' final or making the method 'setName' static/final/abstract/empty, or adding allowed annotation for the method. | 35 |
![]() |
misc | FinalParameters | Parameter name should be final. | 35 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'asBuilder' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'asBuilder' static/final/abstract/empty, or adding allowed annotation for the method. | 32 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 36 |
![]() |
misc | FinalParameters | Parameter context should be final. | 36 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'setNotes' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'setNotes' static/final/abstract/empty, or adding allowed annotation for the method. | 40 |
![]() |
misc | FinalParameters | Parameter notes should be final. | 40 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'addNotes' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'addNotes' static/final/abstract/empty, or adding allowed annotation for the method. | 44 |
![]() |
misc | FinalParameters | Parameter notes should be final. | 44 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 47 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'setFamily' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'setFamily' static/final/abstract/empty, or adding allowed annotation for the method. | 49 |
![]() |
misc | FinalParameters | Parameter licenseFamilyCategory should be final. | 49 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 52 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'setId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'setId' static/final/abstract/empty, or adding allowed annotation for the method. | 53 |
![]() |
misc | FinalParameters | Parameter id should be final. | 53 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'setName' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'setName' static/final/abstract/empty, or adding allowed annotation for the method. | 57 |
![]() |
misc | FinalParameters | Parameter name should be final. | 57 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'add' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'add' static/final/abstract/empty, or adding allowed annotation for the method. | 61 |
![]() |
misc | FinalParameters | Parameter builder should be final. | 61 |
![]() |
coding | HiddenField | 'builder' hides a field. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 64 |
![]() |
design | DesignForExtension | Class 'License' looks like designed for extension (can be subclassed), but the method 'add' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'License' final or making the method 'add' static/final/abstract/empty, or adding allowed annotation for the method. | 65 |
![]() |
misc | FinalParameters | Parameter matcher should be final. | 65 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'Not' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Not' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
design | DesignForExtension | Class 'Not' looks like designed for extension (can be subclassed), but the method 'add' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Not' final or making the method 'add' static/final/abstract/empty, or adding allowed annotation for the method. | 34 |
![]() |
misc | FinalParameters | Parameter builder should be final. | 34 |
![]() |
coding | HiddenField | 'builder' hides a field. | 34 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'Regex' looks like designed for extension (can be subclassed), but the method 'setExpr' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Regex' final or making the method 'setExpr' static/final/abstract/empty, or adding allowed annotation for the method. | 29 |
![]() |
misc | FinalParameters | Parameter pattern should be final. | 29 |
![]() |
design | DesignForExtension | Class 'Regex' looks like designed for extension (can be subclassed), but the method 'addText' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Regex' final or making the method 'addText' static/final/abstract/empty, or adding allowed annotation for the method. | 33 |
![]() |
misc | FinalParameters | Parameter pattern should be final. | 33 |
![]() |
design | DesignForExtension | Class 'Regex' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Regex' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 37 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.io.*. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 86 |
![]() |
misc | FinalParameters | Parameter rc should be final. | 89 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setInputFileFilter' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setInputFileFilter' static/final/abstract/empty, or adding allowed annotation for the method. | 96 |
![]() |
misc | FinalParameters | Parameter inputFileFilter should be final. | 96 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setReportFile' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setReportFile' static/final/abstract/empty, or adding allowed annotation for the method. | 100 |
![]() |
misc | FinalParameters | Parameter reportFile should be final. | 100 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'addLicense' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'addLicense' static/final/abstract/empty, or adding allowed annotation for the method. | 104 |
![]() |
misc | FinalParameters | Parameter lic should be final. | 104 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'addFamily' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'addFamily' static/final/abstract/empty, or adding allowed annotation for the method. | 108 |
![]() |
misc | FinalParameters | Parameter family should be final. | 108 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 113 |
![]() |
misc | FinalParameters | Parameter styleSheet should be final. | 118 |
![]() |
misc | FinalParameters | Parameter styleSheet should be final. | 126 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setStyleReport' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setStyleReport' static/final/abstract/empty, or adding allowed annotation for the method. | 131 |
![]() |
misc | FinalParameters | Parameter styleReport should be final. | 131 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 136 |
![]() |
misc | FinalParameters | Parameter style should be final. | 141 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setLicenses' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setLicenses' static/final/abstract/empty, or adding allowed annotation for the method. | 146 |
![]() |
misc | FinalParameters | Parameter fileName should be final. | 146 |
![]() |
misc | FinalParameters | Parameter useDefaultLicenses should be final. | 169 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setAddApprovedLicense' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setAddApprovedLicense' static/final/abstract/empty, or adding allowed annotation for the method. | 175 |
![]() |
misc | FinalParameters | Parameter familyCategory should be final. | 175 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'addAddApprovedLicense' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'addAddApprovedLicense' static/final/abstract/empty, or adding allowed annotation for the method. | 179 |
![]() |
misc | FinalParameters | Parameter familyCategory should be final. | 179 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setRemoveApprovedLicense' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setRemoveApprovedLicense' static/final/abstract/empty, or adding allowed annotation for the method. | 183 |
![]() |
misc | FinalParameters | Parameter familyCategory should be final. | 183 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setRemoveApprovedLicense' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setRemoveApprovedLicense' static/final/abstract/empty, or adding allowed annotation for the method. | 187 |
![]() |
misc | FinalParameters | Parameter familyCategory should be final. | 187 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setCopyrightMessage' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setCopyrightMessage' static/final/abstract/empty, or adding allowed annotation for the method. | 191 |
![]() |
misc | FinalParameters | Parameter copyrightMessage should be final. | 191 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setAddLicenseHeaders' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setAddLicenseHeaders' static/final/abstract/empty, or adding allowed annotation for the method. | 195 |
![]() |
misc | FinalParameters | Parameter setting should be final. | 195 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'setAddDefaultDefinitions' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'setAddDefaultDefinitions' static/final/abstract/empty, or adding allowed annotation for the method. | 199 |
![]() |
misc | FinalParameters | Parameter fileName should be final. | 199 |
![]() |
design | DesignForExtension | Class 'Report' looks like designed for extension (can be subclassed), but the method 'getConfiguration' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Report' final or making the method 'getConfiguration' static/final/abstract/empty, or adding allowed annotation for the method. | 207 |
![]() |
misc | FinalParameters | Parameter cfg should be final. | 241 |
![]() |
misc | FinalParameters | Parameter s should be final. | 264 |
![]() |
design | DesignForExtension | Class 'AddLicenseHeaders' looks like designed for extension (can be subclassed), but the method 'getValues' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddLicenseHeaders' final or making the method 'getValues' static/final/abstract/empty, or adding allowed annotation for the method. | 268 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 270 |
![]() |
design | DesignForExtension | Class 'AddLicenseHeaders' looks like designed for extension (can be subclassed), but the method 'getNative' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddLicenseHeaders' final or making the method 'getNative' static/final/abstract/empty, or adding allowed annotation for the method. | 273 |
![]() |
misc | FinalParameters | Parameter s should be final. | 286 |
![]() |
design | DesignForExtension | Class 'ApprovalFilter' looks like designed for extension (can be subclassed), but the method 'getValues' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ApprovalFilter' final or making the method 'getValues' static/final/abstract/empty, or adding allowed annotation for the method. | 290 |
![]() |
design | DesignForExtension | Class 'ApprovalFilter' looks like designed for extension (can be subclassed), but the method 'internalFilter' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ApprovalFilter' final or making the method 'internalFilter' static/final/abstract/empty, or adding allowed annotation for the method. | 296 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 300 |
![]() |
misc | FinalParameters | Parameter level should be final. | 303 |
![]() |
misc | FinalParameters | Parameter msg should be final. | 303 |
![]() |
blocks | LeftCurly | '{' at column 13 should be on the previous line. | 305 |
![]() |
misc | FinalParameters | Parameter level should be final. | 311 |
![]() |
misc | FinalParameters | Parameter msg should be final. | 311 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 330 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter rc should be final. | 46 |
![]() |
coding | HiddenField | 'rc' hides a field. | 46 |
![]() |
misc | FinalParameters | Parameter report should be final. | 51 |
![]() |
design | FinalClass | Class ResourceDocument should be declared as final. | 61 |
![]() |
misc | FinalParameters | Parameter resource should be final. | 65 |
![]() |
whitespace | OperatorWrap | '?' should be on a new line. | 66 |
![]() |
misc | FinalParameters | Parameter resource should be final. | 72 |
![]() |
coding | HiddenField | 'resource' hides a field. | 72 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
design | DesignForExtension | Class 'Spdx' looks like designed for extension (can be subclassed), but the method 'setName' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Spdx' final or making the method 'setName' static/final/abstract/empty, or adding allowed annotation for the method. | 28 |
![]() |
misc | FinalParameters | Parameter spdxId should be final. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
design | DesignForExtension | Class 'Spdx' looks like designed for extension (can be subclassed), but the method 'addText' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Spdx' final or making the method 'addText' static/final/abstract/empty, or adding allowed annotation for the method. | 32 |
![]() |
misc | FinalParameters | Parameter spdxId should be final. | 32 |
![]() |
design | DesignForExtension | Class 'Spdx' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Spdx' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 36 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
design | DesignForExtension | Class 'Text' looks like designed for extension (can be subclassed), but the method 'addText' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Text' final or making the method 'addText' static/final/abstract/empty, or adding allowed annotation for the method. | 28 |
![]() |
misc | FinalParameters | Parameter text should be final. | 28 |
![]() |
design | DesignForExtension | Class 'Text' looks like designed for extension (can be subclassed), but the method 'setText' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Text' final or making the method 'setText' static/final/abstract/empty, or adding allowed annotation for the method. | 32 |
![]() |
misc | FinalParameters | Parameter text should be final. | 32 |
![]() |
design | DesignForExtension | Class 'Text' looks like designed for extension (can be subclassed), but the method 'build' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Text' final or making the method 'build' static/final/abstract/empty, or adding allowed annotation for the method. | 35 |