The following document contains the results of Checkstyle 6.1.1 with config/sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 12 | ![]() |
RightCurly | 2 | ![]() | |
coding | HiddenField | 6 | ![]() |
design | DesignForExtension | 14 | ![]() |
javadoc | JavadocPackage
|
2 | ![]() |
JavadocStyle | 2 | ![]() | |
misc | FinalParameters | 20 | ![]() |
modifier | RedundantModifier | 4 | ![]() |
regexp | RegexpSingleline
|
30 | ![]() |
sizes | LineLength | 4 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 37 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 47 |
![]() |
modifier | RedundantModifier | Redundant 'static' modifier. | 51 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 55 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 60 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 65 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 103 |
![]() |
misc | FinalParameters | Parameter context should be final. | 113 |
![]() |
misc | FinalParameters | Parameter clazz should be final. | 113 |
![]() |
misc | FinalParameters | Parameter sl should be final. | 114 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 120 |
![]() |
misc | FinalParameters | Parameter context should be final. | 132 |
![]() |
misc | FinalParameters | Parameter clazz should be final. | 132 |
![]() |
misc | FinalParameters | Parameter filterString should be final. | 133 |
![]() |
coding | HiddenField | 'filterString' hides a field. | 133 |
![]() |
misc | FinalParameters | Parameter sl should be final. | 133 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 140 |
![]() |
misc | FinalParameters | Parameter context should be final. | 152 |
![]() |
misc | FinalParameters | Parameter className should be final. | 152 |
![]() |
coding | HiddenField | 'className' hides a field. | 152 |
![]() |
misc | FinalParameters | Parameter filterString should be final. | 153 |
![]() |
coding | HiddenField | 'filterString' hides a field. | 153 |
![]() |
misc | FinalParameters | Parameter sl should be final. | 153 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 169 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 178 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 198 |
![]() |
misc | FinalParameters | Parameter event should be final. | 210 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 226 |
![]() |
misc | FinalParameters | Parameter original should be final. | 230 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 257 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 266 |
![]() |
misc | FinalParameters | Parameter deadRef should be final. | 275 |
![]() |
misc | FinalParameters | Parameter newRef should be final. | 275 |
![]() |
misc | FinalParameters | Parameter service should be final. | 276 |
![]() |
coding | HiddenField | 'service' hides a field. | 276 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 284 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 286 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 288 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 300 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 302 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 304 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 311 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 313 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 315 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 39 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 60 |
![]() |
misc | FinalParameters | Parameter bundleContext should be final. | 64 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 68 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 70 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 71 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 84 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 86 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 87 |
![]() |
design | DesignForExtension | Method 'cleanup' is not designed for extension - needs to be abstract, final or empty. | 105 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 113 |
![]() |
design | DesignForExtension | Method 'registerSynchronization' is not designed for extension - needs to be abstract, final or empty. | 117 |
![]() |
misc | FinalParameters | Parameter synchronizedObserver should be final. | 118 |
![]() |
design | DesignForExtension | Method 'isTransactionActive' is not designed for extension - needs to be abstract, final or empty. | 138 |
![]() |
design | DesignForExtension | Method 'getUserTransaction' is not designed for extension - needs to be abstract, final or empty. | 150 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 154 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 12 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 14 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 67 |
![]() |
misc | FinalParameters | Parameter bundleContext should be final. | 73 |
![]() |
coding | HiddenField | 'bundleContext' hides a field. | 73 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 85 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 94 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 96 |
![]() |
design | DesignForExtension | Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 109 |
![]() |
design | DesignForExtension | Method 'internalReparse' is not designed for extension - needs to be abstract, final or empty. | 119 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 124 |
![]() |
design | DesignForExtension | Method 'serviceFound' is not designed for extension - needs to be abstract, final or empty. | 142 |
![]() |
design | DesignForExtension | Method 'serviceLost' is not designed for extension - needs to be abstract, final or empty. | 151 |
![]() |
design | DesignForExtension | Method 'serviceReplaced' is not designed for extension - needs to be abstract, final or empty. | 160 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 12 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 14 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 35 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 63 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 69 |
![]() |
misc | FinalParameters | Parameter bundleContext should be final. | 75 |
![]() |
coding | HiddenField | 'bundleContext' hides a field. | 75 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 87 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 96 |
![]() |
design | DesignForExtension | Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 109 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 118 |
![]() |
design | DesignForExtension | Method 'internalReparse' is not designed for extension - needs to be abstract, final or empty. | 121 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 126 |
![]() |
design | DesignForExtension | Method 'serviceFound' is not designed for extension - needs to be abstract, final or empty. | 144 |
![]() |
design | DesignForExtension | Method 'serviceLost' is not designed for extension - needs to be abstract, final or empty. | 153 |
![]() |
design | DesignForExtension | Method 'serviceReplaced' is not designed for extension - needs to be abstract, final or empty. | 162 |