The following document contains the results of Checkstyle 6.1.1 with config/sun_checks.xml ruleset. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | AvoidInlineConditionals | 4 | |
| MagicNumber | 3 | ||
| design | DesignForExtension | 86 | |
| VisibilityModifier | 1 | ||
| misc | NewlineAtEndOfFile | 2 | |
| regexp | RegexpSingleline
|
22 | |
| sizes | LineLength | 43 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| regexp | RegexpSingleline | Line has trailing spaces. | 27 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 33 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 36 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 39 | |
| design | DesignForExtension | Method 'getDomain' is not designed for extension - needs to be abstract, final or empty. | 76 | |
| design | DesignForExtension | Method 'getFqn' is not designed for extension - needs to be abstract, final or empty. | 84 | |
| design | DesignForExtension | Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 92 | |
| design | DesignForExtension | Method 'getSidString' is not designed for extension - needs to be abstract, final or empty. | 100 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'addGroup' is not designed for extension - needs to be abstract, final or empty. | 57 | |
| sizes | LineLength | Line is longer than 80 characters (found 116). | 62 | |
| design | DesignForExtension | Method 'acceptSecurityToken' is not designed for extension - needs to be abstract, final or empty. | 64 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 65 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 67 | |
| design | DesignForExtension | Method 'getCurrentComputer' is not designed for extension - needs to be abstract, final or empty. | 73 | |
| design | DesignForExtension | Method 'getDomains' is not designed for extension - needs to be abstract, final or empty. | 81 | |
| sizes | LineLength | Line is longer than 80 characters (found 122). | 87 | |
| design | DesignForExtension | Method 'logonDomainUser' is not designed for extension - needs to be abstract, final or empty. | 89 | |
| sizes | LineLength | Line is longer than 80 characters (found 112). | 90 | |
| sizes | LineLength | Line is longer than 80 characters (found 134). | 95 | |
| design | DesignForExtension | Method 'logonDomainUserEx' is not designed for extension - needs to be abstract, final or empty. | 97 | |
| sizes | LineLength | Line is longer than 80 characters (found 112). | 98 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 104 | |
| design | DesignForExtension | Method 'logonUser' is not designed for extension - needs to be abstract, final or empty. | 112 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 113 | |
| sizes | LineLength | Line is longer than 80 characters (found 105). | 114 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 118 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 125 | |
| design | DesignForExtension | Method 'lookupAccount' is not designed for extension - needs to be abstract, final or empty. | 127 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 133 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| regexp | RegexpSingleline | Line has trailing spaces. | 25 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 32 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 44 | |
| design | DesignForExtension | Method 'getFqn' is not designed for extension - needs to be abstract, final or empty. | 52 | |
| design | DesignForExtension | Method 'getGroups' is not designed for extension - needs to be abstract, final or empty. | 60 | |
| sizes | LineLength | Line is longer than 80 characters (found 88). | 62 | |
| design | DesignForExtension | Method 'getSid' is not designed for extension - needs to be abstract, final or empty. | 72 | |
| design | DesignForExtension | Method 'getSidString' is not designed for extension - needs to be abstract, final or empty. | 80 | |
| design | DesignForExtension | Method 'isGuest' is not designed for extension - needs to be abstract, final or empty. | 96 | |
| design | DesignForExtension | Method 'impersonate' is not designed for extension - needs to be abstract, final or empty. | 104 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 86). | 23 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | DesignForExtension | Method 'isContinue' is not designed for extension - needs to be abstract, final or empty. | 60 | |
| design | DesignForExtension | Method 'getHandle' is not designed for extension - needs to be abstract, final or empty. | 68 | |
| design | DesignForExtension | Method 'getIdentity' is not designed for extension - needs to be abstract, final or empty. | 76 | |
| design | DesignForExtension | Method 'getPrincipalName' is not designed for extension - needs to be abstract, final or empty. | 84 | |
| design | DesignForExtension | Method 'getSecurityPackage' is not designed for extension - needs to be abstract, final or empty. | 92 | |
| design | DesignForExtension | Method 'getToken' is not designed for extension - needs to be abstract, final or empty. | 100 | |
| design | DesignForExtension | Method 'impersonate' is not designed for extension - needs to be abstract, final or empty. | 108 | |
| sizes | LineLength | Line is longer than 80 characters (found 175). | 121 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 124 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| regexp | RegexpSingleline | Line has trailing spaces. | 25 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 32 | |
| design | DesignForExtension | Method 'getRequest' is not designed for extension - needs to be abstract, final or empty. | 41 | |
| design | DesignForExtension | Method 'getResponse' is not designed for extension - needs to be abstract, final or empty. | 50 | |
| sizes | LineLength | Line is longer than 80 characters (found 107). | 55 | |
| design | DesignForExtension | Method 'doFilter' is not designed for extension - needs to be abstract, final or empty. | 57 | |
| sizes | LineLength | Line is longer than 80 characters (found 118). | 58 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| regexp | RegexpSingleline | Line has trailing spaces. | 35 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 37 | |
| design | DesignForExtension | Method 'getFilterName' is not designed for extension - needs to be abstract, final or empty. | 42 | |
| design | DesignForExtension | Method 'setFilterName' is not designed for extension - needs to be abstract, final or empty. | 53 | |
| design | DesignForExtension | Method 'getInitParameter' is not designed for extension - needs to be abstract, final or empty. | 60 | |
| design | DesignForExtension | Method 'getInitParameterNames' is not designed for extension - needs to be abstract, final or empty. | 68 | |
| design | DesignForExtension | Method 'getServletContext' is not designed for extension - needs to be abstract, final or empty. | 78 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 91 | |
| design | DesignForExtension | Method 'setParameter' is not designed for extension - needs to be abstract, final or empty. | 91 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | ||
| regexp | RegexpSingleline | Line has trailing spaces. | 41 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 44 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 47 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 50 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 53 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 56 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 59 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 61 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 62 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 64 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 65 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 68 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 71 | |
| design | DesignForExtension | Method 'addHeader' is not designed for extension - needs to be abstract, final or empty. | 107 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 112 | |
| design | DesignForExtension | Method 'getHeader' is not designed for extension - needs to be abstract, final or empty. | 114 | |
| design | DesignForExtension | Method 'getHeaderNames' is not designed for extension - needs to be abstract, final or empty. | 122 | |
| design | DesignForExtension | Method 'getMethod' is not designed for extension - needs to be abstract, final or empty. | 130 | |
| design | DesignForExtension | Method 'getContentLength' is not designed for extension - needs to be abstract, final or empty. | 138 | |
| coding | AvoidInlineConditionals | Avoid inline conditionals. | 140 | |
| design | DesignForExtension | Method 'getRemotePort' is not designed for extension - needs to be abstract, final or empty. | 146 | |
| design | DesignForExtension | Method 'setMethod' is not designed for extension - needs to be abstract, final or empty. | 157 | |
| design | DesignForExtension | Method 'setContentLength' is not designed for extension - needs to be abstract, final or empty. | 167 | |
| design | DesignForExtension | Method 'setRemoteUser' is not designed for extension - needs to be abstract, final or empty. | 177 | |
| design | DesignForExtension | Method 'getRemoteUser' is not designed for extension - needs to be abstract, final or empty. | 184 | |
| design | DesignForExtension | Method 'getSession' is not designed for extension - needs to be abstract, final or empty. | 192 | |
| design | DesignForExtension | Method 'getSession' is not designed for extension - needs to be abstract, final or empty. | 200 | |
| design | DesignForExtension | Method 'getQueryString' is not designed for extension - needs to be abstract, final or empty. | 211 | |
| design | DesignForExtension | Method 'setQueryString' is not designed for extension - needs to be abstract, final or empty. | 222 | |
| coding | AvoidInlineConditionals | Avoid inline conditionals. | 227 | |
| design | DesignForExtension | Method 'setRequestURI' is not designed for extension - needs to be abstract, final or empty. | 239 | |
| design | DesignForExtension | Method 'getRequestURI' is not designed for extension - needs to be abstract, final or empty. | 246 | |
| design | DesignForExtension | Method 'getParameter' is not designed for extension - needs to be abstract, final or empty. | 254 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 267 | |
| design | DesignForExtension | Method 'addParameter' is not designed for extension - needs to be abstract, final or empty. | 267 | |
| design | DesignForExtension | Method 'getRemoteHost' is not designed for extension - needs to be abstract, final or empty. | 274 | |
| design | DesignForExtension | Method 'setRemoteHost' is not designed for extension - needs to be abstract, final or empty. | 285 | |
| design | DesignForExtension | Method 'getRemoteAddr' is not designed for extension - needs to be abstract, final or empty. | 292 | |
| design | DesignForExtension | Method 'setRemoteAddr' is not designed for extension - needs to be abstract, final or empty. | 303 | |
| design | DesignForExtension | Method 'getUserPrincipal' is not designed for extension - needs to be abstract, final or empty. | 310 | |
| design | DesignForExtension | Method 'setUserPrincipal' is not designed for extension - needs to be abstract, final or empty. | 321 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | ||
| sizes | LineLength | Line is longer than 80 characters (found 98). | 43 | |
| coding | MagicNumber | '500' is a magic number. | 46 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 47 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 49 | |
| design | VisibilityModifier | Variable 'bytes' must be private and have accessor methods. | 52 | |
| sizes | LineLength | Line is longer than 80 characters (found 101). | 57 | |
| sizes | LineLength | Line is longer than 80 characters (found 93). | 58 | |
| design | DesignForExtension | Method 'getStatus' is not designed for extension - needs to be abstract, final or empty. | 77 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 82 | |
| design | DesignForExtension | Method 'addHeader' is not designed for extension - needs to be abstract, final or empty. | 84 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 95 | |
| design | DesignForExtension | Method 'setHeader' is not designed for extension - needs to be abstract, final or empty. | 97 | |
| design | DesignForExtension | Method 'setStatus' is not designed for extension - needs to be abstract, final or empty. | 112 | |
| design | DesignForExtension | Method 'getStatusString' is not designed for extension - needs to be abstract, final or empty. | 122 | |
| coding | MagicNumber | '401' is a magic number. | 123 | |
| design | DesignForExtension | Method 'flushBuffer' is not designed for extension - needs to be abstract, final or empty. | 132 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 134 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 144 | |
| design | DesignForExtension | Method 'getHeaderNamesSize' is not designed for extension - needs to be abstract, final or empty. | 147 | |
| design | DesignForExtension | Method 'getHeaderValues' is not designed for extension - needs to be abstract, final or empty. | 158 | |
| sizes | LineLength | Line is longer than 80 characters (found 81). | 160 | |
| coding | AvoidInlineConditionals | Avoid inline conditionals. | 160 | |
| design | DesignForExtension | Method 'getHeader' is not designed for extension - needs to be abstract, final or empty. | 170 | |
| coding | AvoidInlineConditionals | Avoid inline conditionals. | 172 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 176 | |
| design | DesignForExtension | Method 'sendError' is not designed for extension - needs to be abstract, final or empty. | 178 | |
| design | DesignForExtension | Method 'sendError' is not designed for extension - needs to be abstract, final or empty. | 186 | |
| design | DesignForExtension | Method 'getWriter' is not designed for extension - needs to be abstract, final or empty. | 194 | |
| design | DesignForExtension | Method 'getOutputStream' is not designed for extension - needs to be abstract, final or empty. | 202 | |
| design | DesignForExtension | Method 'getOutputText' is not designed for extension - needs to be abstract, final or empty. | 212 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 81). | 33 | |
| design | DesignForExtension | Method 'getAttribute' is not designed for extension - needs to be abstract, final or empty. | 38 | |
| design | DesignForExtension | Method 'getAttributeNames' is not designed for extension - needs to be abstract, final or empty. | 46 | |
| design | DesignForExtension | Method 'getCreationTime' is not designed for extension - needs to be abstract, final or empty. | 54 | |
| design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 62 | |
| design | DesignForExtension | Method 'getLastAccessedTime' is not designed for extension - needs to be abstract, final or empty. | 70 | |
| design | DesignForExtension | Method 'getMaxInactiveInterval' is not designed for extension - needs to be abstract, final or empty. | 78 | |
| design | DesignForExtension | Method 'getServletContext' is not designed for extension - needs to be abstract, final or empty. | 86 | |
| design | DesignForExtension | Method 'getSessionContext' is not designed for extension - needs to be abstract, final or empty. | 94 | |
| design | DesignForExtension | Method 'getValue' is not designed for extension - needs to be abstract, final or empty. | 103 | |
| design | DesignForExtension | Method 'getValueNames' is not designed for extension - needs to be abstract, final or empty. | 112 | |
| design | DesignForExtension | Method 'isNew' is not designed for extension - needs to be abstract, final or empty. | 129 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 135 | |
| design | DesignForExtension | Method 'removeAttribute' is not designed for extension - needs to be abstract, final or empty. | 146 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 161 | |
| design | DesignForExtension | Method 'setAttribute' is not designed for extension - needs to be abstract, final or empty. | 163 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 164 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 80 characters (found 112). | 45 | |
| design | DesignForExtension | Method 'forward' is not designed for extension - needs to be abstract, final or empty. | 47 | |
| sizes | LineLength | Line is longer than 80 characters (found 110). | 48 | |
| coding | MagicNumber | '304' is a magic number. | 51 | |
| sizes | LineLength | Line is longer than 80 characters (found 112). | 56 | |
| sizes | LineLength | Line is longer than 80 characters (found 110). | 59 |