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