| Violation |
Message |
Line |
 |
Line has trailing spaces. |
66 |
 |
Missing a Javadoc comment. |
82 |
 |
Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
82 |
 |
Missing a Javadoc comment. |
98 |
 |
Missing a Javadoc comment. |
100 |
 |
Missing a Javadoc comment. |
102 |
 |
Missing a Javadoc comment. |
126 |
 |
Missing a Javadoc comment. |
128 |
 |
Missing a Javadoc comment. |
131 |
 |
Missing a Javadoc comment. |
133 |
 |
Missing a Javadoc comment. |
135 |
 |
Missing a Javadoc comment. |
137 |
 |
Missing a Javadoc comment. |
139 |
 |
Missing a Javadoc comment. |
141 |
 |
Missing a Javadoc comment. |
143 |
 |
Missing a Javadoc comment. |
147 |
 |
Missing a Javadoc comment. |
149 |
 |
Missing a Javadoc comment. |
154 |
 |
Missing a Javadoc comment. |
156 |
 |
Missing a Javadoc comment. |
158 |
 |
Missing a Javadoc comment. |
160 |
 |
Missing a Javadoc comment. |
162 |
 |
Name 'char_ascent' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
162 |
 |
Missing a Javadoc comment. |
164 |
 |
Name 'char_height' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
164 |
 |
Missing a Javadoc comment. |
166 |
 |
Name 'char_width' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
166 |
 |
Missing a Javadoc comment. |
168 |
 |
Missing a Javadoc comment. |
170 |
 |
Missing a Javadoc comment. |
172 |
 |
Line is longer than 80 characters. |
175 |
 |
Line is longer than 80 characters. |
186 |
 |
Line has trailing spaces. |
187 |
 |
Parameter terminalModel should be final. |
191 |
 |
Expected @param tag for 'terminalModel'. |
191 |
 |
Parameter terminalType should be final. |
191 |
 |
Expected @param tag for 'terminalType'. |
191 |
 |
Line has trailing spaces. |
200 |
 |
Line is longer than 80 characters. |
200 |
 |
Line has trailing spaces. |
201 |
 |
Parameter terminalModel should be final. |
204 |
 |
Expected @param tag for 'terminalModel'. |
204 |
 |
Line has trailing spaces. |
215 |
 |
Parameter terminalType should be final. |
218 |
 |
Expected @param tag for 'terminalType'. |
218 |
 |
Missing a Javadoc comment. |
226 |
 |
Parameter e should be final. |
236 |
 |
Parameter e should be final. |
240 |
 |
Parameter e should be final. |
244 |
 |
Parameter e should be final. |
248 |
 |
Method 'beep' is not designed for extension - needs to be abstract, final or empty. |
264 |
 |
Missing a Javadoc comment. |
264 |
 |
Method 'broadcastMessage' is not designed for extension - needs to be abstract, final or empty. |
268 |
 |
Missing a Javadoc comment. |
268 |
 |
Parameter msg should be final. |
268 |
 |
'23' is a magic number. |
273 |
 |
Method 'connect' is not designed for extension - needs to be abstract, final or empty. |
291 |
 |
Parameter host should be final. |
291 |
 |
Parameter port should be final. |
291 |
 |
Parameter host3270 should be final. |
291 |
 |
Parameter port3270 should be final. |
291 |
 |
Parameter encryption should be final. |
292 |
 |
'}' should be on the same line. |
305 |
 |
'}' should be on the same line. |
309 |
 |
Method 'connect' is not designed for extension - needs to be abstract, final or empty. |
317 |
 |
Missing a Javadoc comment. |
317 |
 |
Parameter host should be final. |
317 |
 |
Parameter port should be final. |
317 |
 |
Redundant throws: 'UnknownHostException' is subclass of 'IOException'. |
318 |
 |
Method 'connect' is not designed for extension - needs to be abstract, final or empty. |
332 |
 |
Missing a Javadoc comment. |
332 |
 |
Parameter host should be final. |
332 |
 |
Parameter port should be final. |
332 |
 |
Parameter encryption should be final. |
332 |
 |
Redundant throws: 'UnknownHostException' is subclass of 'IOException'. |
333 |
 |
Method 'cursorMove' is not designed for extension - needs to be abstract, final or empty. |
338 |
 |
Missing a Javadoc comment. |
338 |
 |
Parameter oldPos should be final. |
338 |
 |
Parameter newPos should be final. |
338 |
 |
Method 'disconnect' is not designed for extension - needs to be abstract, final or empty. |
348 |
 |
Missing a Javadoc comment. |
348 |
 |
Method 'getRW3270' is not designed for extension - needs to be abstract, final or empty. |
354 |
 |
Missing a Javadoc comment. |
354 |
 |
Method 'incomingData' is not designed for extension - needs to be abstract, final or empty. |
358 |
 |
Missing a Javadoc comment. |
358 |
 |
Method 'PA' is not designed for extension - needs to be abstract, final or empty. |
365 |
 |
Missing a Javadoc comment. |
365 |
 |
Name 'PA' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
365 |
 |
Parameter paKey should be final. |
365 |
 |
Method 'enter' is not designed for extension - needs to be abstract, final or empty. |
369 |
 |
Missing a Javadoc comment. |
369 |
 |
Method 'clear' is not designed for extension - needs to be abstract, final or empty. |
373 |
 |
Missing a Javadoc comment. |
373 |
 |
Method 'keyPressed' is not designed for extension - needs to be abstract, final or empty. |
383 |
 |
Method length is 318 lines (max allowed is 150). |
383 |
 |
Parameter evt should be final. |
383 |
 |
Line is longer than 80 characters. |
388 |
 |
switch without "default" clause. |
397 |
 |
Avoid nested blocks. |
398 |
 |
Avoid nested blocks. |
404 |
 |
Avoid nested blocks. |
410 |
 |
Must have at least one statement. |
411 |
 |
Line contains a tab character. |
414 |
 |
Line contains a tab character. |
415 |
 |
Line contains a tab character. |
416 |
 |
'}' should be on the same line. |
424 |
 |
Avoid nested blocks. |
432 |
 |
Avoid nested blocks. |
445 |
 |
'}' should be on the same line. |
448 |
 |
Avoid nested blocks. |
456 |
 |
Avoid nested blocks. |
623 |
 |
Avoid nested blocks. |
634 |
 |
Avoid nested blocks. |
642 |
 |
'}' should be on the same line. |
646 |
 |
Avoid nested blocks. |
655 |
 |
Avoid nested blocks. |
663 |
 |
Avoid nested blocks. |
671 |
 |
Avoid nested blocks. |
679 |
 |
Avoid nested blocks. |
687 |
 |
Method 'keyReleased' is not designed for extension - needs to be abstract, final or empty. |
707 |
 |
Parameter evt should be final. |
707 |
 |
Method 'keyTyped' is not designed for extension - needs to be abstract, final or empty. |
711 |
 |
Missing a Javadoc comment. |
711 |
 |
Parameter evt should be final. |
711 |
 |
Line is longer than 80 characters. |
730 |
 |
'}' should be on the same line. |
754 |
 |
Method 'mouseClicked' is not designed for extension - needs to be abstract, final or empty. |
773 |
 |
Parameter e should be final. |
773 |
 |
'80' is a magic number. |
783 |
 |
Method 'mousePressed' is not designed for extension - needs to be abstract, final or empty. |
795 |
 |
Missing a Javadoc comment. |
795 |
 |
Parameter e should be final. |
795 |
 |
Method 'mouseReleased' is not designed for extension - needs to be abstract, final or empty. |
802 |
 |
Missing a Javadoc comment. |
802 |
 |
Parameter e should be final. |
802 |
 |
Method 'mouseDragged' is not designed for extension - needs to be abstract, final or empty. |
806 |
 |
Missing a Javadoc comment. |
806 |
 |
Parameter e should be final. |
806 |
 |
'}' should be on the same line. |
819 |
 |
Method 'paintCursor' is not designed for extension - needs to be abstract, final or empty. |
842 |
 |
Missing a Javadoc comment. |
842 |
 |
Parameter pos should be final. |
842 |
 |
'5' is a magic number. |
847 |
 |
'7' is a magic number. |
848 |
 |
'{' is followed by whitespace. |
852 |
 |
'5' is a magic number. |
854 |
 |
'5' is a magic number. |
855 |
 |
Method 'paintStatus' is not designed for extension - needs to be abstract, final or empty. |
858 |
 |
Missing a Javadoc comment. |
858 |
 |
'5' is a magic number. |
861 |
 |
'5' is a magic number. |
862 |
 |
'5' is a magic number. |
868 |
 |
'5' is a magic number. |
875 |
 |
'6' is a magic number. |
880 |
 |
Method 'paintWindowMessage' is not designed for extension - needs to be abstract, final or empty. |
888 |
 |
'3' is a magic number. |
894 |
 |
'3' is a magic number. |
894 |
 |
'6' is a magic number. |
894 |
 |
'6' is a magic number. |
894 |
 |
switch without "default" clause. |
896 |
 |
Avoid nested blocks. |
897 |
 |
Line is longer than 80 characters. |
898 |
 |
Line is longer than 80 characters. |
899 |
 |
'5' is a magic number. |
912 |
 |
'20' is a magic number. |
912 |
 |
'40' is a magic number. |
912 |
 |
'40' is a magic number. |
913 |
 |
'40' is a magic number. |
920 |
 |
'22' is a magic number. |
921 |
 |
'3' is a magic number. |
921 |
 |
'45' is a magic number. |
926 |
 |
'22' is a magic number. |
928 |
 |
'3' is a magic number. |
928 |
 |
'45' is a magic number. |
932 |
 |
'22' is a magic number. |
935 |
 |
'3' is a magic number. |
935 |
 |
Expression can be simplified. |
942 |
 |
'22' is a magic number. |
945 |
 |
'5' is a magic number. |
945 |
 |
'22' is a magic number. |
948 |
 |
'19' is a magic number. |
948 |
 |
Method 'renderScreen' is not designed for extension - needs to be abstract, final or empty. |
955 |
 |
'85' is a magic number. |
964 |
 |
'25' is a magic number. |
964 |
 |
'4' is a magic number. |
964 |
 |
'}' should be on the same line. |
997 |
 |
Method 'run' is not designed for extension - needs to be abstract, final or empty. |
1019 |
 |
Missing a Javadoc comment. |
1019 |
 |
'1000' is a magic number. |
1026 |
 |
'}' should be on the same line. |
1027 |
 |
Method 'setBackgroundColor' is not designed for extension - needs to be abstract, final or empty. |
1055 |
 |
Missing a Javadoc comment. |
1055 |
 |
Parameter c should be final. |
1055 |
 |
Method 'setBoldColor' is not designed for extension - needs to be abstract, final or empty. |
1062 |
 |
Missing a Javadoc comment. |
1062 |
 |
Parameter c should be final. |
1062 |
 |
Method 'setFont' is not designed for extension - needs to be abstract, final or empty. |
1075 |
 |
Parameter newFont should be final. |
1075 |
 |
'85' is a magic number. |
1090 |
 |
'27' is a magic number. |
1091 |
 |
Method 'setForegroundColor' is not designed for extension - needs to be abstract, final or empty. |
1107 |
 |
Missing a Javadoc comment. |
1107 |
 |
Parameter c should be final. |
1107 |
 |
Method 'setStatus' is not designed for extension - needs to be abstract, final or empty. |
1119 |
 |
Parameter statusMessage should be final. |
1119 |
 |
'statusMessage' hides a field. |
1119 |
 |
Method 'setCurrentPosition' is not designed for extension - needs to be abstract, final or empty. |
1125 |
 |
Missing a Javadoc comment. |
1125 |
 |
Parameter newPos should be final. |
1125 |
 |
'3' is a magic number. |
1131 |
 |
Method 'setWindowMessage' is not designed for extension - needs to be abstract, final or empty. |
1142 |
 |
Missing a Javadoc comment. |
1142 |
 |
Parameter msg should be final. |
1142 |
 |
Method 'setWindowMessage' is not designed for extension - needs to be abstract, final or empty. |
1148 |
 |
Missing a Javadoc comment. |
1148 |
 |
Parameter msg should be final. |
1148 |
 |
Method 'status' is not designed for extension - needs to be abstract, final or empty. |
1154 |
 |
Missing a Javadoc comment. |
1154 |
 |
Parameter status should be final. |
1154 |
 |
Avoid nested blocks. |
1156 |
 |
Avoid nested blocks. |
1162 |
 |
Avoid nested blocks. |
1168 |
 |
Method 'paintChar' is not designed for extension - needs to be abstract, final or empty. |
1185 |
 |
Parameter c should be final. |
1185 |
 |
'5' is a magic number. |
1195 |
 |
'7' is a magic number. |
1196 |
 |
switch without "default" clause. |
1210 |
 |
Avoid nested blocks. |
1211 |
 |
Avoid nested blocks. |
1218 |
 |
Line is longer than 80 characters. |
1239 |
 |
'5' is a magic number. |
1242 |
 |
'7' is a magic number. |
1243 |
 |
Method 'paintComponent' is not designed for extension - needs to be abstract, final or empty. |
1254 |
 |
Parameter g should be final. |
1254 |
 |
Method 'print' is not designed for extension - needs to be abstract, final or empty. |
1258 |
 |
Missing a Javadoc comment. |
1258 |
 |
Parameter graphics should be final. |
1258 |
 |
Parameter pageFormat should be final. |
1258 |
 |
Parameter pageIndex should be final. |
1258 |
 |
Line is longer than 80 characters. |
1261 |
 |
Line is longer than 80 characters. |
1262 |
 |
'10' is a magic number. |
1271 |
 |
'72' is a magic number. |
1290 |
 |
'10' is a magic number. |
1290 |
 |
Missing a Javadoc comment. |
1310 |
 |
Parameter c should be final. |
1310 |
 |
Parameter c should be final. |
1329 |
 |
Parameter bufLen should be final. |
1329 |
 |
Parameter startPos should be final. |
1329 |
 |
Parameter bgcolor should be final. |
1330 |
 |
Parameter fgcolor should be final. |
1330 |
 |
Parameter under should be final. |
1330 |
 |
Parameter hidden should be final. |
1330 |
 |
Avoid inline conditionals. |
1348 |
 |
Line is longer than 80 characters. |
1354 |
 |
Avoid inline conditionals. |
1358 |
 |
'5' is a magic number. |
1362 |
 |
'7' is a magic number. |
1363 |
 |
'5' is a magic number. |
1369 |
 |
'5' is a magic number. |
1370 |
 |
'5' is a magic number. |
1371 |
 |
'5' is a magic number. |
1372 |
 |
'5' is a magic number. |
1378 |
 |
'5' is a magic number. |
1378 |
 |
Avoid inline conditionals. |
1385 |
 |
'5' is a magic number. |
1387 |
 |
'7' is a magic number. |
1387 |
 |
'5' is a magic number. |
1393 |
 |
'5' is a magic number. |
1393 |
 |
'5' is a magic number. |
1394 |
 |
'5' is a magic number. |
1395 |
 |
'5' is a magic number. |
1400 |
 |
'5' is a magic number. |
1401 |
 |
Avoid inline conditionals. |
1416 |
 |
'5' is a magic number. |
1420 |
 |
'7' is a magic number. |
1420 |
 |
'5' is a magic number. |
1425 |
 |
'5' is a magic number. |
1425 |
 |
'5' is a magic number. |
1426 |
 |
'5' is a magic number. |
1427 |
 |
'5' is a magic number. |
1432 |
 |
'5' is a magic number. |
1433 |
 |
Parameter field should be final. |
1443 |
 |
Parameter blink should be final. |
1443 |
 |
switch without "default" clause. |
1460 |
 |
First sentence should end with a period. |
1503 |
 |
Parameter c should be final. |
1511 |
 |
switch without "default" clause. |
1512 |
 |
'180' is a magic number. |
1556 |
 |
'180' is a magic number. |
1556 |
 |
'180' is a magic number. |
1556 |
 |
Method 'error' is not designed for extension - needs to be abstract, final or empty. |
1565 |
 |
Missing a Javadoc comment. |
1565 |
 |
Parameter e should be final. |
1565 |