Violation | Message | Line |
---|
| File length is 2,349 lines (max allowed is 2,000). | 1 |
| Line does not match expected header line of ''. | 1 |
| First sentence should end with a period. | 75 |
| Missing a Javadoc comment. | 80 |
| Missing a Javadoc comment. | 87 |
| Missing a Javadoc comment. | 96 |
| Missing a Javadoc comment. | 98 |
| Missing a Javadoc comment. | 100 |
| Missing a Javadoc comment. | 102 |
| Missing a Javadoc comment. | 104 |
| Missing a Javadoc comment. | 106 |
| Missing a Javadoc comment. | 108 |
| Missing a Javadoc comment. | 110 |
| Missing a Javadoc comment. | 112 |
| Missing a Javadoc comment. | 114 |
| Missing a Javadoc comment. | 116 |
| Missing a Javadoc comment. | 118 |
| Missing a Javadoc comment. | 120 |
| Missing a Javadoc comment. | 122 |
| Missing a Javadoc comment. | 124 |
| Missing a Javadoc comment. | 126 |
| Missing a Javadoc comment. | 128 |
| Missing a Javadoc comment. | 130 |
| Missing a Javadoc comment. | 132 |
| Missing a Javadoc comment. | 134 |
| Missing a Javadoc comment. | 136 |
| Missing a Javadoc comment. | 138 |
| Missing a Javadoc comment. | 140 |
| Missing a Javadoc comment. | 142 |
| Missing a Javadoc comment. | 144 |
| Missing a Javadoc comment. | 146 |
| Missing a Javadoc comment. | 149 |
| Missing a Javadoc comment. | 151 |
| Missing a Javadoc comment. | 153 |
| Missing a Javadoc comment. | 155 |
| Missing a Javadoc comment. | 157 |
| Missing a Javadoc comment. | 159 |
| Missing a Javadoc comment. | 161 |
| Missing a Javadoc comment. | 163 |
| Missing a Javadoc comment. | 165 |
| Missing a Javadoc comment. | 167 |
| Missing a Javadoc comment. | 169 |
| Missing a Javadoc comment. | 171 |
| Missing a Javadoc comment. | 173 |
| Missing a Javadoc comment. | 175 |
| Missing a Javadoc comment. | 177 |
| Missing a Javadoc comment. | 179 |
| Missing a Javadoc comment. | 181 |
| Missing a Javadoc comment. | 183 |
| Missing a Javadoc comment. | 185 |
| Missing a Javadoc comment. | 187 |
| Missing a Javadoc comment. | 189 |
| Missing a Javadoc comment. | 191 |
| Missing a Javadoc comment. | 193 |
| Missing a Javadoc comment. | 195 |
| Missing a Javadoc comment. | 197 |
| Missing a Javadoc comment. | 200 |
| Variable 'protocol' must be private and have accessor methods. | 200 |
| Missing a Javadoc comment. | 203 |
| Variable 'host' must be private and have accessor methods. | 203 |
| Missing a Javadoc comment. | 207 |
| Variable 'defaultPort' must be private and have accessor methods. | 207 |
| Missing a Javadoc comment. | 210 |
| Variable 'port' must be private and have accessor methods. | 210 |
| Missing a Javadoc comment. | 214 |
| Variable 'socket' must be private and have accessor methods. | 214 |
| Missing a Javadoc comment. | 217 |
| Variable 'localHost' must be private and have accessor methods. | 217 |
| Missing a Javadoc comment. | 222 |
| Variable 'inputStream' must be private and have accessor methods. | 222 |
| Missing a Javadoc comment. | 225 |
| Variable 'outputStream' must be private and have accessor methods. | 225 |
| Missing a Javadoc comment. | 228 |
| Variable 'serverAuthenticationMechanisms' must be private and have accessor methods. | 228 |
| Missing a Javadoc comment. | 231 |
| Variable 'serverExtensionArgs' must be private and have accessor methods. | 231 |
| Missing a Javadoc comment. | 234 |
| Variable 'reportSuccess' must be private and have accessor methods. | 234 |
| Missing a Javadoc comment. | 237 |
| Variable 'serverTLS' must be private and have accessor methods. | 237 |
| Missing a Javadoc comment. | 240 |
| Variable 'useTLS' must be private and have accessor methods. | 240 |
| Missing a Javadoc comment. | 243 |
| Variable 'sslConnection' must be private and have accessor methods. | 243 |
| Missing a Javadoc comment. | 246 |
| Variable 'username' must be private and have accessor methods. | 246 |
| Missing a Javadoc comment. | 249 |
| Variable 'password' must be private and have accessor methods. | 249 |
| Missing a Javadoc comment. | 254 |
| Variable 'realm' must be private and have accessor methods. | 254 |
| Missing a Javadoc comment. | 257 |
| Variable 'lastServerResponse' must be private and have accessor methods. | 257 |
| Missing a Javadoc comment. | 260 |
| Variable 'debugStream' must be private and have accessor methods. | 260 |
| Parameter session should be final. | 271 |
| Parameter name should be final. | 271 |
| Parameter session should be final. | 295 |
| Parameter name should be final. | 295 |
| Parameter protocol should be final. | 295 |
| Parameter defaultPort should be final. | 295 |
| Parameter sslConnection should be final. | 295 |
| Parameter socket should be final. | 318 |
| 'socket' hides a field. | 318 |
| Expected @throws tag for 'MessagingException'. | 318 |
| Unused @param tag for 'user'. | 332 |
| Parameter host should be final. | 342 |
| 'host' hides a field. | 342 |
| Parameter port should be final. | 342 |
| 'port' hides a field. | 342 |
| Parameter username should be final. | 342 |
| 'username' hides a field. | 342 |
| Expected @param tag for 'username'. | 342 |
| Parameter password should be final. | 342 |
| 'password' hides a field. | 342 |
| Expected @throws tag for 'MessagingException'. | 343 |
| Method length is 295 lines (max allowed is 150). | 416 |
| Parameter message should be final. | 416 |
| Parameter addresses should be final. | 416 |
| Expected @throws tag for 'MessagingException'. | 416 |
| switch without "default" clause. | 494 |
| switch without "default" clause. | 569 |
| Expected @throws tag for 'MessagingException'. | 718 |
| Parameter stats should be final. | 745 |
| Parameter reportSuccess should be final. | 745 |
| 'reportSuccess' hides a field. | 745 |
| Expected @throws tag for 'MessagingException'. | 773 |
| Parameter addresses should be final. | 800 |
| Expected @throws tag for 'MessagingException'. | 800 |
| Parameter host should be final. | 834 |
| 'host' hides a field. | 834 |
| Parameter port should be final. | 834 |
| 'port' hides a field. | 834 |
| Parameter username should be final. | 834 |
| 'username' hides a field. | 834 |
| Expected @param tag for 'username'. | 834 |
| Parameter password should be final. | 834 |
| 'password' hides a field. | 834 |
| Expected @param tag for 'password'. | 834 |
| Expected @throws tag for 'IOException'. | 834 |
| '}' should be on the same line. | 851 |
| Empty statement. | 861 |
| Parameter name should be final. | 875 |
| Parameter name should be final. | 892 |
| Parameter name should be final. | 908 |
| Parameter defaultValue should be final. | 908 |
| Parameter name should be final. | 928 |
| Parameter defaultValue should be final. | 928 |
| Parameter name should be final. | 948 |
| Parameter defaultValue should be final. | 948 |
| Must have at least one statement. | 954 |
| Parameter name should be final. | 973 |
| Parameter defaultValue should be final. | 973 |
| Parameter name should be final. | 988 |
| Expected @param tag for 'name'. | 988 |
| Parameter name should be final. | 1003 |
| Expected @param tag for 'name'. | 1003 |
| Parameter name should be final. | 1018 |
| Expected @param tag for 'name'. | 1018 |
| Parameter name should be final. | 1033 |
| Expected @param tag for 'name'. | 1033 |
| Must have at least one statement. | 1047 |
| First sentence should end with a period. | 1055 |
| Expected @throws tag for 'IOException'. | 1060 |
| '}' should be on the same line. | 1090 |
| Avoid inline conditionals. | 1097 |
| Line is longer than 120 characters. | 1116 |
| '{' is followed by whitespace. | 1116 |
| '{' is followed by whitespace. | 1119 |
| '{' is followed by whitespace. | 1123 |
| '{' is followed by whitespace. | 1126 |
| '}' should be on the same line. | 1138 |
| Expected @throws tag for 'IOException'. | 1172 |
| '}' should be on the same line. | 1203 |
| Avoid inline conditionals. | 1219 |
| '{' is followed by whitespace. | 1238 |
| Line is longer than 120 characters. | 1242 |
| '{' is followed by whitespace. | 1242 |
| '{' is followed by whitespace. | 1246 |
| '{' is followed by whitespace. | 1249 |
| '}' should be on the same line. | 1263 |
| Expected @throws tag for 'MessagingException'. | 1297 |
| 'host' hides a field. | 1314 |
| 'port' hides a field. | 1315 |
| '{' is followed by whitespace. | 1332 |
| '{' is followed by whitespace. | 1335 |
| '{' is followed by whitespace. | 1346 |
| Empty statement. | 1356 |
| Expected an @return tag. | 1373 |
| Expected @throws tag for 'MessagingException'. | 1373 |
| Parameter msg should be final. | 1383 |
| Expected @param tag for 'msg'. | 1383 |
| Expected @throws tag for 'MessagingException'. | 1383 |
| First sentence should end with a period. | 1437 |
| Expected @throws tag for 'MessagingException'. | 1440 |
| First sentence should end with a period. | 1453 |
| Parameter addr should be final. | 1464 |
| Parameter dsn should be final. | 1464 |
| Expected @throws tag for 'MessagingException'. | 1464 |
| Expected an @return tag. | 1526 |
| Parameter message should be final. | 1526 |
| Expected @throws tag for 'MessagingException'. | 1526 |
| '}' should be on the same line. | 1551 |
| switch without "default" clause. | 1578 |
| Parameter data should be final. | 1670 |
| Expected @throws tag for 'MessagingException'. | 1670 |
| First sentence should end with a period. | 1675 |
| Parameter data should be final. | 1678 |
| Expected @param tag for 'data'. | 1678 |
| Expected @throws tag for 'MessagingException'. | 1678 |
| Expected @throws tag for 'MessagingException'. | 1699 |
| Expected @throws tag for 'MessagingException'. | 1708 |
| Parameter delayMillis should be final. | 1738 |
| Expected @param tag for 'delayMillis'. | 1738 |
| Expected @throws tag for 'MessagingException'. | 1738 |
| Inner assignments should be avoided. | 1756 |
| Expression can be simplified. | 1756 |
| Expression can be simplified. | 1756 |
| Must have at least one statement. | 1779 |
| Parameter mail should be final. | 1796 |
| Expected an @return tag. | 1808 |
| Expected @throws tag for 'MessagingException'. | 1808 |
| Expected @throws tag for 'MessagingException'. | 1856 |
| Expected @throws tag for 'MessagingException'. | 1891 |
| Expected @throws tag for 'MessagingException'. | 1911 |
| Must have at least one statement. | 1916 |
| Parameter report should be final. | 1952 |
| Parameter start should be final. | 1971 |
| Parameter name should be final. | 1996 |
| Parameter localHost should be final. | 2006 |
| Parameter extension should be final. | 2017 |
| '}' should be on the same line. | 2047 |
| '}' should be on the same line. | 2051 |
| Parameter name should be final. | 2070 |
| Parameter name should be final. | 2087 |
| Parameter mechanism should be final. | 2101 |
| Expected @throws tag for 'MessagingException'. | 2111 |
| '}' should be on the same line. | 2160 |
| '}' should be on the same line. | 2193 |
| '}' should be on the same line. | 2209 |
| First sentence should end with a period. | 2222 |
| Missing a Javadoc comment. | 2227 |
| 'static' modifier out of order with the JLS suggestions. | 2227 |
| Missing a Javadoc comment. | 2229 |
| 'static' modifier out of order with the JLS suggestions. | 2229 |
| Missing a Javadoc comment. | 2231 |
| 'static' modifier out of order with the JLS suggestions. | 2231 |
| Missing a Javadoc comment. | 2233 |
| 'static' modifier out of order with the JLS suggestions. | 2233 |
| Missing a Javadoc comment. | 2236 |
| Variable 'status' must be private and have accessor methods. | 2236 |
| Missing a Javadoc comment. | 2239 |
| Variable 'address' must be private and have accessor methods. | 2239 |
| Missing a Javadoc comment. | 2242 |
| Variable 'cmd' must be private and have accessor methods. | 2242 |
| Missing a Javadoc comment. | 2245 |
| Variable 'reply' must be private and have accessor methods. | 2245 |
| Parameter s should be final. | 2259 |
| Parameter a should be final. | 2259 |
| Parameter c should be final. | 2259 |
| Parameter r should be final. | 2259 |
| First sentence should end with a period. | 2285 |
| Parameter reportSuccess should be final. | 2314 |
| 'reportSuccess' hides a field. | 2314 |
| Unused @param tag for 'value'. | 2329 |
| Parameter message should be final. | 2332 |
| Expected @param tag for 'message'. | 2332 |
| Parameter message should be final. | 2344 |
| Parameter e should be final. | 2344 |