Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
Files | Infos | Warnings | Errors |
69 | 0 | 0 | 1531 |
Files
org/apache/torque/engine/EngineException.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Parameter msg should be final. |
45
|
| Parameter nested should be final. |
57
|
| Parameter msg should be final. |
70
|
| Parameter nested should be final. |
70
|
org/apache/torque/engine/database/model/AppData.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Name 'dbList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
| '5' is a magic number. |
54
|
| Name 'idiosyncrasyTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
| '8' is a magic number. |
59
|
| Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
64
|
| Name 'basePropsFilePath' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
| Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
75
|
| Missing a Javadoc comment. |
78
|
| Name 'isInitialized' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
78
|
| Variable 'isInitialized' must be private and have accessor methods. |
78
|
| Parameter databaseType should be final. |
88
|
| 'databaseType' hides a field. |
88
|
| Parameter basePropsFilePath should be final. |
88
|
| 'basePropsFilePath' hides a field. |
88
|
| Method 'getIdiosyncrasies' is not designed for extension - needs to be abstract, final or empty. |
103
|
| Parameter databaseType should be final. |
103
|
| 'databaseType' hides a field. |
103
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
158
|
| Parameter name should be final. |
158
|
| 'name' hides a field. |
158
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
168
|
| Method 'getShortName' is not designed for extension - needs to be abstract, final or empty. |
178
|
| Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. |
188
|
| Expected @throws tag for 'EngineException'. |
189
|
| Method 'getDatabases' is not designed for extension - needs to be abstract, final or empty. |
200
|
| Expected @throws tag for 'EngineException'. |
201
|
| Method 'hasMultipleDatabases' is not designed for extension - needs to be abstract, final or empty. |
218
|
| Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. |
229
|
| Parameter name should be final. |
229
|
| 'name' hides a field. |
229
|
| Expected @throws tag for 'EngineException'. |
230
|
| Method 'addDatabase' is not designed for extension - needs to be abstract, final or empty. |
250
|
| Parameter attrib should be final. |
250
|
| Method 'addDatabase' is not designed for extension - needs to be abstract, final or empty. |
264
|
| Parameter db should be final. |
264
|
| Missing a Javadoc comment. |
279
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
299
|
org/apache/torque/engine/database/model/Column.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
47
|
| Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
47
|
| Missing a Javadoc comment. |
48
|
| Name 'description' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
48
|
| Missing a Javadoc comment. |
49
|
| Name 'javaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
| Missing a Javadoc comment. |
50
|
| Name 'javaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
| Missing a Javadoc comment. |
51
|
| Name 'isNotNull' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
51
|
| Missing a Javadoc comment. |
52
|
| Name 'size' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
| Name 'torqueType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
| Missing a Javadoc comment. |
55
|
| Name 'javaType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
55
|
| Missing a Javadoc comment. |
56
|
| Name 'columnType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
56
|
| Missing a Javadoc comment. |
57
|
| Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
57
|
| Missing a Javadoc comment. |
58
|
| Name 'position' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
58
|
| Missing a Javadoc comment. |
59
|
| Name 'isPrimaryKey' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
| Missing a Javadoc comment. |
60
|
| Name 'isUnique' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
| Missing a Javadoc comment. |
61
|
| Name 'isAutoIncrement' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
61
|
| Missing a Javadoc comment. |
62
|
| Name 'defaultValue' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
| Missing a Javadoc comment. |
63
|
| Name 'referrers' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
63
|
| Missing a Javadoc comment. |
68
|
| Name 'inheritanceType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
| Missing a Javadoc comment. |
69
|
| Name 'isInheritance' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
| Missing a Javadoc comment. |
70
|
| Name 'isEnumeratedClasses' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
70
|
| Missing a Javadoc comment. |
71
|
| Name 'inheritanceList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
71
|
| Missing a Javadoc comment. |
72
|
| Name 'needsTransactionInPostgres' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
72
|
| Name 'inputValidator' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
75
|
| Parameter name should be final. |
90
|
| 'name' hides a field. |
90
|
| Expected an @return tag. |
101
|
| Parameter columns should be final. |
101
|
| Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
125
|
| Parameter attrib should be final. |
125
|
| Expected @param tag for 'attrib'. |
125
|
| Expected an @return tag. |
184
|
| Method 'getFullyQualifiedName' is not designed for extension - needs to be abstract, final or empty. |
184
|
| Expected an @return tag. |
192
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
192
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
200
|
| Parameter newName should be final. |
200
|
| Expected @param tag for 'newName'. |
200
|
| Expected an @return tag. |
208
|
| Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. |
208
|
| Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. |
218
|
| Parameter newDescription should be final. |
218
|
| Line has trailing spaces. |
225
|
| Method 'getJavaName' is not designed for extension - needs to be abstract, final or empty. |
228
|
| Line has trailing spaces. |
247
|
| Line has trailing spaces. |
250
|
| Expected an @return tag. |
251
|
| Method 'getUncapitalisedJavaName' is not designed for extension - needs to be abstract, final or empty. |
251
|
| Method 'setJavaName' is not designed for extension - needs to be abstract, final or empty. |
259
|
| Parameter javaName should be final. |
259
|
| 'javaName' hides a field. |
259
|
| Expected @param tag for 'javaName'. |
259
|
| Expected an @return tag. |
267
|
| Method 'getJavaType' is not designed for extension - needs to be abstract, final or empty. |
267
|
| Method 'getPosition' is not designed for extension - needs to be abstract, final or empty. |
276
|
| Method 'setPosition' is not designed for extension - needs to be abstract, final or empty. |
285
|
| Parameter v should be final. |
285
|
| Method 'setTable' is not designed for extension - needs to be abstract, final or empty. |
293
|
| Parameter parent should be final. |
293
|
| Expected @param tag for 'parent'. |
293
|
| Expected an @return tag. |
301
|
| Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
301
|
| Expected an @return tag. |
309
|
| Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. |
309
|
| Expected an @return tag. |
318
|
| Method 'addInheritance' is not designed for extension - needs to be abstract, final or empty. |
318
|
| Parameter attrib should be final. |
318
|
| Expected @param tag for 'attrib'. |
318
|
| Method 'addInheritance' is not designed for extension - needs to be abstract, final or empty. |
331
|
| Parameter inh should be final. |
331
|
| Expected @param tag for 'inh'. |
331
|
| Expected an @return tag. |
345
|
| Method 'getChildren' is not designed for extension - needs to be abstract, final or empty. |
345
|
| Expected an @return tag. |
354
|
| Method 'isInheritance' is not designed for extension - needs to be abstract, final or empty. |
354
|
| Expected an @return tag. |
362
|
| Method 'isEnumeratedClasses' is not designed for extension - needs to be abstract, final or empty. |
362
|
| Expected an @return tag. |
370
|
| Method 'isNotNull' is not designed for extension - needs to be abstract, final or empty. |
370
|
| Method 'setNotNull' is not designed for extension - needs to be abstract, final or empty. |
378
|
| Parameter status should be final. |
378
|
| Expected @param tag for 'status'. |
378
|
| Method 'setPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
386
|
| Parameter pk should be final. |
386
|
| Expected @param tag for 'pk'. |
386
|
| Expected an @return tag. |
394
|
| Method 'isPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
394
|
| Method 'setUnique' is not designed for extension - needs to be abstract, final or empty. |
402
|
| Parameter u should be final. |
402
|
| Expected @param tag for 'u'. |
402
|
| Expected an @return tag. |
410
|
| Method 'isUnique' is not designed for extension - needs to be abstract, final or empty. |
410
|
| Expected an @return tag. |
418
|
| Method 'requiresTransactionInPostgres' is not designed for extension - needs to be abstract, final or empty. |
418
|
| Expected an @return tag. |
426
|
| Method 'isForeignKey' is not designed for extension - needs to be abstract, final or empty. |
426
|
| Expected an @return tag. |
435
|
| Method 'isMultipleFK' is not designed for extension - needs to be abstract, final or empty. |
435
|
| Expected an @return tag. |
460
|
| Method 'getForeignKey' is not designed for extension - needs to be abstract, final or empty. |
460
|
| Expected an @return tag. |
469
|
| Method 'getRelatedTableName' is not designed for extension - needs to be abstract, final or empty. |
469
|
| Avoid inline conditionals. |
472
|
| Expected an @return tag. |
480
|
| Method 'getRelatedColumnName' is not designed for extension - needs to be abstract, final or empty. |
480
|
| Method 'addReferrer' is not designed for extension - needs to be abstract, final or empty. |
496
|
| Parameter fk should be final. |
496
|
| Expected @param tag for 'fk'. |
496
|
| '5' is a magic number. |
500
|
| Expected an @return tag. |
508
|
| Method 'getReferrers' is not designed for extension - needs to be abstract, final or empty. |
508
|
| '5' is a magic number. |
512
|
| Method 'setType' is not designed for extension - needs to be abstract, final or empty. |
520
|
| Parameter torqueType should be final. |
520
|
| 'torqueType' hides a field. |
520
|
| Expected @param tag for 'torqueType'. |
520
|
| Expected an @return tag. |
532
|
| Method 'getType' is not designed for extension - needs to be abstract, final or empty. |
532
|
| Expected an @return tag. |
540
|
| Method 'getTorqueType' is not designed for extension - needs to be abstract, final or empty. |
540
|
| Expected an @return tag. |
548
|
| Method 'isString' is not designed for extension - needs to be abstract, final or empty. |
548
|
| Expected an @return tag. |
557
|
| Method 'needEscapedValue' is not designed for extension - needs to be abstract, final or empty. |
557
|
| '&&' should be on a new line. |
559
|
| '(' is followed by whitespace. |
560
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
575
|
| Expected an @return tag. |
626
|
| Method 'getSize' is not designed for extension - needs to be abstract, final or empty. |
626
|
| Method 'setSize' is not designed for extension - needs to be abstract, final or empty. |
634
|
| Parameter newSize should be final. |
634
|
| Expected @param tag for 'newSize'. |
634
|
| Expected an @return tag. |
643
|
| Method 'printSize' is not designed for extension - needs to be abstract, final or empty. |
643
|
| Avoid inline conditionals. |
645
|
| Comment matches to-do format 'TODO:'. |
651
|
| Expected an @return tag. |
653
|
| Method 'getDefaultSetting' is not designed for extension - needs to be abstract, final or empty. |
653
|
| Comment matches to-do format 'TODO:'. |
661
|
| Method 'setDefaultValue' is not designed for extension - needs to be abstract, final or empty. |
675
|
| Parameter def should be final. |
675
|
| Expected @param tag for 'def'. |
675
|
| Expected an @return tag. |
683
|
| Method 'getDefaultValue' is not designed for extension - needs to be abstract, final or empty. |
683
|
| Expected an @return tag. |
691
|
| Method 'getInputValidator' is not designed for extension - needs to be abstract, final or empty. |
691
|
| Expected an @return tag. |
700
|
| Method 'isAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
700
|
| Method 'setAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
709
|
| Parameter value should be final. |
709
|
| Expected @param tag for 'value'. |
709
|
| Method 'setTypeFromString' is not designed for extension - needs to be abstract, final or empty. |
718
|
| Parameter typeName should be final. |
718
|
| Expected @param tag for 'typeName'. |
718
|
| Parameter size should be final. |
718
|
| 'size' hides a field. |
718
|
| Expected @param tag for 'size'. |
718
|
| Expected an @return tag. |
771
|
| Method 'getJavaObject' is not designed for extension - needs to be abstract, final or empty. |
771
|
| Method 'getJavaPrimitive' is not designed for extension - needs to be abstract, final or empty. |
782
|
| Method 'getJavaNative' is not designed for extension - needs to be abstract, final or empty. |
795
|
| Expected an @return tag. |
810
|
| Method 'getVillageMethod' is not designed for extension - needs to be abstract, final or empty. |
810
|
| Expected an @return tag. |
825
|
| Method 'getParameterParserMethod' is not designed for extension - needs to be abstract, final or empty. |
825
|
| Expected an @return tag. |
834
|
| Method 'isBooleanInt' is not designed for extension - needs to be abstract, final or empty. |
834
|
| Expected an @return tag. |
843
|
| Method 'isBooleanChar' is not designed for extension - needs to be abstract, final or empty. |
843
|
| Expected an @return tag. |
852
|
| Method 'isBit' is not designed for extension - needs to be abstract, final or empty. |
852
|
| Expected an @return tag. |
861
|
| Method 'isPrimitive' is not designed for extension - needs to be abstract, final or empty. |
861
|
| Method 'isUsePrimitive' is not designed for extension - needs to be abstract, final or empty. |
874
|
| Missing a Javadoc comment. |
874
|
org/apache/torque/engine/database/model/ConstraintNameGenerator.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Method 'generateName' is not designed for extension - needs to be abstract, final or empty. |
49
|
| Parameter inputs should be final. |
49
|
| '3' is a magic number. |
56
|
| Must have at least one statement. |
78
|
org/apache/torque/engine/database/model/Database.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
42
|
| Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
42
|
| Missing a Javadoc comment. |
43
|
| Name 'tableList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
43
|
| '100' is a magic number. |
43
|
| Missing a Javadoc comment. |
44
|
| Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
44
|
| Missing a Javadoc comment. |
45
|
| Name 'pkg' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
45
|
| Missing a Javadoc comment. |
46
|
| Name 'baseClass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
46
|
| Missing a Javadoc comment. |
47
|
| Name 'basePeer' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
47
|
| Missing a Javadoc comment. |
48
|
| Name 'defaultIdMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
48
|
| Missing a Javadoc comment. |
49
|
| Name 'defaultJavaType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
| Missing a Javadoc comment. |
50
|
| Name 'defaultJavaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
| Missing a Javadoc comment. |
51
|
| Name 'dbParent' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
51
|
| Missing a Javadoc comment. |
52
|
| Name 'tablesByName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
| Missing a Javadoc comment. |
53
|
| Name 'tablesByJavaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
| Missing a Javadoc comment. |
54
|
| Name 'heavyIndexing' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
| Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
61
|
| Parameter attrib should be final. |
61
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
82
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
92
|
| Parameter name should be final. |
92
|
| 'name' hides a field. |
92
|
| Avoid inline conditionals. |
96
|
| Method 'getPackage' is not designed for extension - needs to be abstract, final or empty. |
103
|
| Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. |
112
|
| Parameter v should be final. |
112
|
| Method 'getBaseClass' is not designed for extension - needs to be abstract, final or empty. |
121
|
| Method 'setBaseClass' is not designed for extension - needs to be abstract, final or empty. |
134
|
| Parameter v should be final. |
134
|
| Method 'getBasePeer' is not designed for extension - needs to be abstract, final or empty. |
143
|
| Method 'setBasePeer' is not designed for extension - needs to be abstract, final or empty. |
156
|
| Parameter v should be final. |
156
|
| Method 'getDefaultIdMethod' is not designed for extension - needs to be abstract, final or empty. |
165
|
| Method 'setDefaultIdMethod' is not designed for extension - needs to be abstract, final or empty. |
174
|
| Parameter v should be final. |
174
|
| Method 'getDefaultJavaType' is not designed for extension - needs to be abstract, final or empty. |
184
|
| Method 'getDefaultJavaNamingMethod' is not designed for extension - needs to be abstract, final or empty. |
195
|
| Method 'setDefaultJavaNamingMethod' is not designed for extension - needs to be abstract, final or empty. |
204
|
| Parameter v should be final. |
204
|
| Method 'isHeavyIndexing' is not designed for extension - needs to be abstract, final or empty. |
213
|
| Method 'setHeavyIndexing' is not designed for extension - needs to be abstract, final or empty. |
222
|
| Parameter v should be final. |
222
|
| Method 'getTables' is not designed for extension - needs to be abstract, final or empty. |
232
|
| Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
249
|
| Parameter name should be final. |
249
|
| 'name' hides a field. |
249
|
| Method 'getTableByJavaName' is not designed for extension - needs to be abstract, final or empty. |
260
|
| Parameter javaName should be final. |
260
|
| Method 'addTable' is not designed for extension - needs to be abstract, final or empty. |
271
|
| Parameter attrib should be final. |
271
|
| Method 'addTable' is not designed for extension - needs to be abstract, final or empty. |
285
|
| Parameter tbl should be final. |
285
|
| Method 'setAppData' is not designed for extension - needs to be abstract, final or empty. |
299
|
| Parameter parent should be final. |
299
|
| Method 'getAppData' is not designed for extension - needs to be abstract, final or empty. |
309
|
| Method 'getDatabaseType' is not designed for extension - needs to be abstract, final or empty. |
314
|
| Missing a Javadoc comment. |
314
|
| Method 'setDatabaseType' is not designed for extension - needs to be abstract, final or empty. |
319
|
| Missing a Javadoc comment. |
319
|
| Parameter databaseType should be final. |
319
|
| 'databaseType' hides a field. |
319
|
| Method 'getProperty' is not designed for extension - needs to be abstract, final or empty. |
332
|
| Parameter name should be final. |
332
|
| 'name' hides a field. |
332
|
| Avoid inline conditionals. |
336
|
| Method 'requiresIdTable' is not designed for extension - needs to be abstract, final or empty. |
347
|
| Array brackets at illegal position. |
349
|
| Method 'doFinalInitialization' is not designed for extension - needs to be abstract, final or empty. |
360
|
| Missing a Javadoc comment. |
360
|
| Line is longer than 80 characters. |
387
|
| Line is longer than 80 characters. |
414
|
| Line is longer than 80 characters. |
424
|
| Line is longer than 80 characters. |
443
|
| Line is longer than 80 characters. |
444
|
| Line has trailing spaces. |
451
|
| Line is longer than 80 characters. |
451
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
470
|
org/apache/torque/engine/database/model/ForeignKey.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
33
|
| Name 'foreignTableName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
33
|
| Missing a Javadoc comment. |
34
|
| Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
34
|
| Missing a Javadoc comment. |
35
|
| Name 'onUpdate' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
35
|
| Missing a Javadoc comment. |
36
|
| Name 'onDelete' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
36
|
| Missing a Javadoc comment. |
37
|
| Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
37
|
| Missing a Javadoc comment. |
38
|
| Name 'localColumns' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
38
|
| '3' is a magic number. |
38
|
| Missing a Javadoc comment. |
39
|
| Name 'foreignColumns' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
39
|
| '3' is a magic number. |
39
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Parameter attrib should be final. |
50
|
| Parameter attrib should be final. |
66
|
| Method 'hasOnUpdate' is not designed for extension - needs to be abstract, final or empty. |
86
|
| Method 'hasOnDelete' is not designed for extension - needs to be abstract, final or empty. |
96
|
| Method 'getOnUpdate' is not designed for extension - needs to be abstract, final or empty. |
106
|
| Method 'getOnDelete' is not designed for extension - needs to be abstract, final or empty. |
116
|
| Method 'setOnDelete' is not designed for extension - needs to be abstract, final or empty. |
126
|
| Parameter value should be final. |
126
|
| Method 'setOnUpdate' is not designed for extension - needs to be abstract, final or empty. |
136
|
| Parameter value should be final. |
136
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
146
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
156
|
| Parameter name should be final. |
156
|
| 'name' hides a field. |
156
|
| Method 'getForeignTableName' is not designed for extension - needs to be abstract, final or empty. |
166
|
| Method 'setForeignTableName' is not designed for extension - needs to be abstract, final or empty. |
176
|
| Parameter tableName should be final. |
176
|
| Method 'setTable' is not designed for extension - needs to be abstract, final or empty. |
186
|
| Parameter parent should be final. |
186
|
| Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
196
|
| Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. |
206
|
| Method 'addReference' is not designed for extension - needs to be abstract, final or empty. |
216
|
| Parameter attrib should be final. |
216
|
| Method 'addReference' is not designed for extension - needs to be abstract, final or empty. |
227
|
| Parameter local should be final. |
227
|
| Parameter foreign should be final. |
227
|
| Method 'getLocalColumnNames' is not designed for extension - needs to be abstract, final or empty. |
238
|
| Method 'getForeignColumnNames' is not designed for extension - needs to be abstract, final or empty. |
248
|
| Method 'getLocalColumns' is not designed for extension - needs to be abstract, final or empty. |
258
|
| Method 'getLocalForeignMapping' is not designed for extension - needs to be abstract, final or empty. |
269
|
| Method 'getForeignColumns' is not designed for extension - needs to be abstract, final or empty. |
286
|
| Method 'getForeignLocalMapping' is not designed for extension - needs to be abstract, final or empty. |
297
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
314
|
org/apache/torque/engine/database/model/IDMethod.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| interfaces should describe a type and hence have methods. |
26
|
org/apache/torque/engine/database/model/IdMethodParameter.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
30
|
| Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
30
|
| Missing a Javadoc comment. |
31
|
| Name 'value' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
31
|
| Missing a Javadoc comment. |
32
|
| Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
32
|
| Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
37
|
| Parameter attrib should be final. |
37
|
| Expected @param tag for 'attrib'. |
37
|
| Expected an @return tag. |
46
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
46
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
54
|
| Parameter name should be final. |
54
|
| 'name' hides a field. |
54
|
| Expected @param tag for 'name'. |
54
|
| Expected an @return tag. |
62
|
| Method 'getValue' is not designed for extension - needs to be abstract, final or empty. |
62
|
| Method 'setValue' is not designed for extension - needs to be abstract, final or empty. |
70
|
| Parameter value should be final. |
70
|
| 'value' hides a field. |
70
|
| Expected @param tag for 'value'. |
70
|
| Method 'setTable' is not designed for extension - needs to be abstract, final or empty. |
78
|
| Parameter parent should be final. |
78
|
| Expected @param tag for 'parent'. |
78
|
| Expected an @return tag. |
86
|
| Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
86
|
| Expected an @return tag. |
94
|
| Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. |
94
|
| Expected an @return tag. |
102
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
102
|
org/apache/torque/engine/database/model/Index.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Name 'indexName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
42
|
| Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
44
|
| Name 'indexColumns' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
46
|
| '3' is a magic number. |
54
|
| Parameter table should be final. |
68
|
| Parameter indexColumns should be final. |
68
|
| 'indexColumns' hides a field. |
68
|
| Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Parameter attrib should be final. |
95
|
| Method 'isUnique' is not designed for extension - needs to be abstract, final or empty. |
105
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
115
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
125
|
| Parameter name should be final. |
125
|
| Method 'setTable' is not designed for extension - needs to be abstract, final or empty. |
135
|
| Parameter parent should be final. |
135
|
| Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
145
|
| Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. |
155
|
| Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. |
165
|
| Parameter attrib should be final. |
165
|
| Method 'getColumnList' is not designed for extension - needs to be abstract, final or empty. |
175
|
| Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. |
185
|
| Method 'getColumnNames' is not designed for extension - needs to be abstract, final or empty. |
198
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
215
|
org/apache/torque/engine/database/model/Inheritance.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
29
|
| Name 'key' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
29
|
| Missing a Javadoc comment. |
30
|
| Name 'className' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
30
|
| Missing a Javadoc comment. |
31
|
| Name 'ancestor' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
31
|
| Missing a Javadoc comment. |
32
|
| Name 'parent' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
32
|
| Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
39
|
| Parameter attrib should be final. |
39
|
| Method 'getKey' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Method 'setKey' is not designed for extension - needs to be abstract, final or empty. |
59
|
| Parameter v should be final. |
59
|
| Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. |
69
|
| Method 'setColumn' is not designed for extension - needs to be abstract, final or empty. |
78
|
| Parameter v should be final. |
78
|
| Method 'getClassName' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Method 'setClassName' is not designed for extension - needs to be abstract, final or empty. |
96
|
| Parameter v should be final. |
96
|
| Method 'getAncestor' is not designed for extension - needs to be abstract, final or empty. |
105
|
| Method 'setAncestor' is not designed for extension - needs to be abstract, final or empty. |
114
|
| Parameter v should be final. |
114
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
124
|
org/apache/torque/engine/database/model/JavaNameGenerator.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Method 'generateName' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Parameter inputs should be final. |
50
|
| Method 'underscoreMethod' is not designed for extension - needs to be abstract, final or empty. |
89
|
| Parameter schemaName should be final. |
89
|
| Method 'javanameMethod' is not designed for extension - needs to be abstract, final or empty. |
112
|
| Parameter schemaName should be final. |
112
|
| Parameter name should be final. |
132
|
org/apache/torque/engine/database/model/NameFactory.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Name 'algorithms' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
| '5' is a magic number. |
60
|
| Method 'getAlgorithm' is not designed for extension - needs to be abstract, final or empty. |
70
|
| Parameter name should be final. |
70
|
| Expected @throws tag for 'EngineException'. |
71
|
| Line has trailing spaces. |
85
|
| Line is longer than 80 characters. |
86
|
| Parameter algorithmName should be final. |
109
|
| Parameter inputs should be final. |
109
|
org/apache/torque/engine/database/model/NameGenerator.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
org/apache/torque/engine/database/model/Table.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
50
|
| Name 'columnList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
| Missing a Javadoc comment. |
51
|
| Name 'foreignKeys' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
51
|
| Missing a Javadoc comment. |
52
|
| Name 'indices' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
| Missing a Javadoc comment. |
53
|
| Name 'unices' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
| Missing a Javadoc comment. |
54
|
| Name 'idMethodParameters' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
| Missing a Javadoc comment. |
55
|
| Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
55
|
| Missing a Javadoc comment. |
56
|
| Name 'description' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
56
|
| Missing a Javadoc comment. |
57
|
| Name 'javaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
57
|
| Missing a Javadoc comment. |
58
|
| Name 'idMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
58
|
| Missing a Javadoc comment. |
59
|
| Name 'javaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
| Missing a Javadoc comment. |
60
|
| Name 'tableParent' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
| Missing a Javadoc comment. |
61
|
| Name 'referrers' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
61
|
| Missing a Javadoc comment. |
62
|
| Name 'foreignTableNames' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
| Missing a Javadoc comment. |
63
|
| Name 'containsForeignPK' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
63
|
| Missing a Javadoc comment. |
64
|
| Name 'inheritanceColumn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
64
|
| Missing a Javadoc comment. |
65
|
| Name 'skipSql' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
65
|
| Missing a Javadoc comment. |
66
|
| Name 'abstractValue' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
66
|
| Missing a Javadoc comment. |
67
|
| Name 'alias' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
67
|
| Missing a Javadoc comment. |
68
|
| Name 'enterface' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
| Missing a Javadoc comment. |
69
|
| Name 'pkg' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
| Missing a Javadoc comment. |
70
|
| Name 'baseClass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
70
|
| Missing a Javadoc comment. |
71
|
| Name 'basePeer' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
71
|
| Missing a Javadoc comment. |
72
|
| Name 'columnsByName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
72
|
| Missing a Javadoc comment. |
73
|
| Name 'columnsByJavaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
73
|
| Missing a Javadoc comment. |
74
|
| Name 'needsTransactionInPostgres' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
74
|
| Missing a Javadoc comment. |
75
|
| Name 'heavyIndexing' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
75
|
| Missing a Javadoc comment. |
76
|
| Name 'forReferenceOnly' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
76
|
| Parameter name should be final. |
92
|
| 'name' hides a field. |
92
|
| '5' is a magic number. |
96
|
| '5' is a magic number. |
97
|
| '5' is a magic number. |
98
|
| Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
109
|
| Parameter attrib should be final. |
109
|
| Parameter defaultIdMethod should be final. |
109
|
| Method 'doFinalInitialization' is not designed for extension - needs to be abstract, final or empty. |
156
|
| 'name' hides a field. |
221
|
| Redundant 'final' modifier. |
273
|
| Parameter nameType should be final. |
273
|
| Parameter nbr should be final. |
273
|
| Expected @throws tag for 'EngineException'. |
274
|
| '4' is a magic number. |
276
|
| Method 'getBaseClass' is not designed for extension - needs to be abstract, final or empty. |
290
|
| Method 'setBaseClass' is not designed for extension - needs to be abstract, final or empty. |
310
|
| Parameter v should be final. |
310
|
| Method 'getBasePeer' is not designed for extension - needs to be abstract, final or empty. |
319
|
| Method 'setBasePeer' is not designed for extension - needs to be abstract, final or empty. |
339
|
| Parameter v should be final. |
339
|
| Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. |
351
|
| Parameter attrib should be final. |
351
|
| Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. |
366
|
| Parameter col should be final. |
366
|
| Method 'addForeignKey' is not designed for extension - needs to be abstract, final or empty. |
387
|
| Parameter attrib should be final. |
387
|
| Expected an @return tag. |
399
|
| Method 'getChildrenColumn' is not designed for extension - needs to be abstract, final or empty. |
399
|
| Expected an @return tag. |
407
|
| Method 'getChildrenNames' is not designed for extension - needs to be abstract, final or empty. |
407
|
| Method 'addReferrer' is not designed for extension - needs to be abstract, final or empty. |
428
|
| Parameter fk should be final. |
428
|
| '5' is a magic number. |
432
|
| Method 'getReferrers' is not designed for extension - needs to be abstract, final or empty. |
442
|
| Method 'setContainsForeignPK' is not designed for extension - needs to be abstract, final or empty. |
452
|
| Parameter b should be final. |
452
|
| Expected @param tag for 'b'. |
452
|
| Expected an @return tag. |
460
|
| Method 'getContainsForeignPK' is not designed for extension - needs to be abstract, final or empty. |
460
|
| Method 'getForeignTableNames' is not designed for extension - needs to be abstract, final or empty. |
470
|
| Method 'addForeignKey' is not designed for extension - needs to be abstract, final or empty. |
485
|
| Parameter fk should be final. |
485
|
| '5' is a magic number. |
492
|
| Expected an @return tag. |
503
|
| Method 'requiresTransactionInPostgres' is not designed for extension - needs to be abstract, final or empty. |
503
|
| Expected an @return tag. |
512
|
| Method 'addIdMethodParameter' is not designed for extension - needs to be abstract, final or empty. |
512
|
| Parameter attrib should be final. |
512
|
| Expected @param tag for 'attrib'. |
512
|
| Method 'addIdMethodParameter' is not designed for extension - needs to be abstract, final or empty. |
527
|
| Parameter imp should be final. |
527
|
| Method 'addIndex' is not designed for extension - needs to be abstract, final or empty. |
541
|
| Parameter index should be final. |
541
|
| Expected @param tag for 'index'. |
541
|
| Expected an @return tag. |
551
|
| Method 'addIndex' is not designed for extension - needs to be abstract, final or empty. |
551
|
| Parameter attrib should be final. |
551
|
| Expected @param tag for 'attrib'. |
551
|
| Method 'addUnique' is not designed for extension - needs to be abstract, final or empty. |
563
|
| Parameter unique should be final. |
563
|
| Expected @param tag for 'unique'. |
563
|
| Expected an @return tag. |
575
|
| Method 'addUnique' is not designed for extension - needs to be abstract, final or empty. |
575
|
| Parameter attrib should be final. |
575
|
| Expected an @return tag. |
586
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
586
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
594
|
| Parameter newName should be final. |
594
|
| Expected @param tag for 'newName'. |
594
|
| Expected an @return tag. |
602
|
| Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. |
602
|
| Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. |
612
|
| Parameter newDescription should be final. |
612
|
| Expected an @return tag. |
620
|
| Method 'getJavaName' is not designed for extension - needs to be abstract, final or empty. |
620
|
| Method 'setJavaName' is not designed for extension - needs to be abstract, final or empty. |
643
|
| Parameter javaName should be final. |
643
|
| 'javaName' hides a field. |
643
|
| Expected @param tag for 'javaName'. |
643
|
| Expected an @return tag. |
651
|
| Method 'getIdMethod' is not designed for extension - needs to be abstract, final or empty. |
651
|
| Method 'setIdMethod' is not designed for extension - needs to be abstract, final or empty. |
666
|
| Parameter idMethod should be final. |
666
|
| 'idMethod' hides a field. |
666
|
| Expected @param tag for 'idMethod'. |
666
|
| Method 'isSkipSql' is not designed for extension - needs to be abstract, final or empty. |
676
|
| Method 'setSkipSql' is not designed for extension - needs to be abstract, final or empty. |
685
|
| Parameter v should be final. |
685
|
| Method 'getAlias' is not designed for extension - needs to be abstract, final or empty. |
694
|
| Method 'isAlias' is not designed for extension - needs to be abstract, final or empty. |
704
|
| Method 'setAlias' is not designed for extension - needs to be abstract, final or empty. |
714
|
| Parameter v should be final. |
714
|
| Method 'getInterface' is not designed for extension - needs to be abstract, final or empty. |
724
|
| Method 'setInterface' is not designed for extension - needs to be abstract, final or empty. |
733
|
| Parameter v should be final. |
733
|
| Method 'isAbstract' is not designed for extension - needs to be abstract, final or empty. |
746
|
| Method 'setAbstract' is not designed for extension - needs to be abstract, final or empty. |
760
|
| Parameter v should be final. |
760
|
| Method 'getPackage' is not designed for extension - needs to be abstract, final or empty. |
770
|
| Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. |
787
|
| Parameter v should be final. |
787
|
| Expected an @return tag. |
795
|
| Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. |
795
|
| Expected an @return tag. |
809
|
| Method 'getNumColumns' is not designed for extension - needs to be abstract, final or empty. |
809
|
| Expected an @return tag. |
817
|
| Method 'getForeignKeys' is not designed for extension - needs to be abstract, final or empty. |
817
|
| Expected an @return tag. |
832
|
| Method 'getIdMethodParameters' is not designed for extension - needs to be abstract, final or empty. |
832
|
| Method 'getSequenceName' is not designed for extension - needs to be abstract, final or empty. |
842
|
| Method 'getIndices' is not designed for extension - needs to be abstract, final or empty. |
865
|
| Method 'getUnices' is not designed for extension - needs to be abstract, final or empty. |
881
|
| Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. |
898
|
| Parameter name should be final. |
898
|
| 'name' hides a field. |
898
|
| Method 'getColumnByJavaName' is not designed for extension - needs to be abstract, final or empty. |
909
|
| Parameter javaName should be final. |
909
|
| 'javaName' hides a field. |
909
|
| Method 'getForeignKey' is not designed for extension - needs to be abstract, final or empty. |
922
|
| Parameter col should be final. |
922
|
| Must have at least one statement. |
935
|
| Method 'containsColumn' is not designed for extension - needs to be abstract, final or empty. |
952
|
| Parameter col should be final. |
952
|
| Method 'containsColumn' is not designed for extension - needs to be abstract, final or empty. |
963
|
| Parameter name should be final. |
963
|
| 'name' hides a field. |
963
|
| Method 'setDatabase' is not designed for extension - needs to be abstract, final or empty. |
973
|
| Parameter parent should be final. |
973
|
| Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. |
983
|
| Method 'isForReferenceOnly' is not designed for extension - needs to be abstract, final or empty. |
993
|
| Method 'setForReferenceOnly' is not designed for extension - needs to be abstract, final or empty. |
1003
|
| Parameter v should be final. |
1003
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
1013
|
| Method 'getPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
1101
|
| Method 'hasPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
1122
|
| Method 'printPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
1132
|
| Parameter list should be final. |
1143
|
org/apache/torque/engine/database/model/TypeMap.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Utility classes should not have a public or default constructor. |
71
|
| Missing a Javadoc comment. |
73
|
| Missing a Javadoc comment. |
74
|
| Missing a Javadoc comment. |
75
|
| Missing a Javadoc comment. |
76
|
| Missing a Javadoc comment. |
77
|
| Missing a Javadoc comment. |
78
|
| Missing a Javadoc comment. |
79
|
| Missing a Javadoc comment. |
80
|
| Missing a Javadoc comment. |
81
|
| Missing a Javadoc comment. |
82
|
| Missing a Javadoc comment. |
83
|
| Missing a Javadoc comment. |
84
|
| Missing a Javadoc comment. |
85
|
| Missing a Javadoc comment. |
86
|
| Missing a Javadoc comment. |
87
|
| Missing a Javadoc comment. |
88
|
| Missing a Javadoc comment. |
89
|
| Missing a Javadoc comment. |
90
|
| Missing a Javadoc comment. |
91
|
| Missing a Javadoc comment. |
92
|
| Missing a Javadoc comment. |
93
|
| Missing a Javadoc comment. |
94
|
| Missing a Javadoc comment. |
95
|
| Missing a Javadoc comment. |
96
|
| Missing a Javadoc comment. |
101
|
| Missing a Javadoc comment. |
102
|
| Missing a Javadoc comment. |
103
|
| Missing a Javadoc comment. |
104
|
| Missing a Javadoc comment. |
105
|
| Missing a Javadoc comment. |
106
|
| Missing a Javadoc comment. |
107
|
| Missing a Javadoc comment. |
108
|
| Missing a Javadoc comment. |
109
|
| Missing a Javadoc comment. |
110
|
| Missing a Javadoc comment. |
111
|
| Missing a Javadoc comment. |
112
|
| Missing a Javadoc comment. |
113
|
| Missing a Javadoc comment. |
114
|
| Missing a Javadoc comment. |
115
|
| Missing a Javadoc comment. |
116
|
| Missing a Javadoc comment. |
117
|
| Missing a Javadoc comment. |
118
|
| Missing a Javadoc comment. |
119
|
| Missing a Javadoc comment. |
120
|
| Missing a Javadoc comment. |
121
|
| Missing a Javadoc comment. |
122
|
| Missing a Javadoc comment. |
123
|
| Missing a Javadoc comment. |
125
|
| Missing a Javadoc comment. |
126
|
| Missing a Javadoc comment. |
127
|
| Missing a Javadoc comment. |
128
|
| Missing a Javadoc comment. |
129
|
| Missing a Javadoc comment. |
130
|
| Missing a Javadoc comment. |
131
|
| Missing a Javadoc comment. |
132
|
| Missing a Javadoc comment. |
133
|
| Missing a Javadoc comment. |
134
|
| Missing a Javadoc comment. |
135
|
| Missing a Javadoc comment. |
136
|
| Missing a Javadoc comment. |
137
|
| Missing a Javadoc comment. |
138
|
| Missing a Javadoc comment. |
139
|
| Missing a Javadoc comment. |
140
|
| Missing a Javadoc comment. |
141
|
| Missing a Javadoc comment. |
142
|
| Missing a Javadoc comment. |
143
|
| Missing a Javadoc comment. |
144
|
| Missing a Javadoc comment. |
145
|
| Missing a Javadoc comment. |
146
|
| Missing a Javadoc comment. |
147
|
| Missing a Javadoc comment. |
149
|
| Missing a Javadoc comment. |
150
|
| Missing a Javadoc comment. |
151
|
| Missing a Javadoc comment. |
152
|
| Missing a Javadoc comment. |
153
|
| Missing a Javadoc comment. |
154
|
| Missing a Javadoc comment. |
155
|
| Missing a Javadoc comment. |
156
|
| Missing a Javadoc comment. |
157
|
| Missing a Javadoc comment. |
158
|
| Missing a Javadoc comment. |
160
|
| Missing a Javadoc comment. |
161
|
| Missing a Javadoc comment. |
162
|
| Missing a Javadoc comment. |
163
|
| Missing a Javadoc comment. |
164
|
| Missing a Javadoc comment. |
165
|
| Missing a Javadoc comment. |
166
|
| Missing a Javadoc comment. |
167
|
| Missing a Javadoc comment. |
168
|
| Missing a Javadoc comment. |
169
|
| Missing a Javadoc comment. |
170
|
| Missing a Javadoc comment. |
171
|
| Missing a Javadoc comment. |
172
|
| Missing a Javadoc comment. |
173
|
| Missing a Javadoc comment. |
174
|
| Missing a Javadoc comment. |
175
|
| Missing a Javadoc comment. |
176
|
| Missing a Javadoc comment. |
177
|
| Missing a Javadoc comment. |
178
|
| Missing a Javadoc comment. |
179
|
| Missing a Javadoc comment. |
180
|
| Missing a Javadoc comment. |
181
|
| Missing a Javadoc comment. |
182
|
| Missing a Javadoc comment. |
184
|
| Missing a Javadoc comment. |
185
|
| Missing a Javadoc comment. |
186
|
| Missing a Javadoc comment. |
187
|
| Missing a Javadoc comment. |
188
|
| Missing a Javadoc comment. |
189
|
| Missing a Javadoc comment. |
190
|
| Missing a Javadoc comment. |
191
|
| Line is longer than 80 characters. |
192
|
| Missing a Javadoc comment. |
192
|
| Line is longer than 80 characters. |
193
|
| Missing a Javadoc comment. |
193
|
| Missing a Javadoc comment. |
195
|
| Missing a Javadoc comment. |
196
|
| Missing a Javadoc comment. |
197
|
| Missing a Javadoc comment. |
198
|
| Missing a Javadoc comment. |
199
|
| Missing a Javadoc comment. |
200
|
| Missing a Javadoc comment. |
201
|
| Missing a Javadoc comment. |
202
|
| Missing a Javadoc comment. |
203
|
| Missing a Javadoc comment. |
204
|
| Missing a Javadoc comment. |
205
|
| Missing a Javadoc comment. |
206
|
| Missing a Javadoc comment. |
207
|
| Missing a Javadoc comment. |
208
|
| Missing a Javadoc comment. |
209
|
| Missing a Javadoc comment. |
210
|
| Missing a Javadoc comment. |
211
|
| Missing a Javadoc comment. |
212
|
| Missing a Javadoc comment. |
213
|
| Missing a Javadoc comment. |
214
|
| Missing a Javadoc comment. |
215
|
| Missing a Javadoc comment. |
217
|
| Missing a Javadoc comment. |
218
|
| Missing a Javadoc comment. |
219
|
| Missing a Javadoc comment. |
220
|
| Missing a Javadoc comment. |
221
|
| Missing a Javadoc comment. |
222
|
| Missing a Javadoc comment. |
223
|
| Missing a Javadoc comment. |
224
|
| Missing a Javadoc comment. |
225
|
| Method length is 215 lines (max allowed is 150). |
231
|
| 'static' modifier out of order with the JLS suggestions. |
231
|
| Line is longer than 80 characters. |
298
|
| Line is longer than 80 characters. |
331
|
| Line is longer than 80 characters. |
351
|
| Line is longer than 80 characters. |
424
|
| Line is longer than 80 characters. |
438
|
| Parameter jdbcType should be final. |
465
|
| Parameter jdbcType should be final. |
482
|
| Parameter jdbcType should be final. |
499
|
| Parameter jdbcType should be final. |
521
|
| Parameter jdbcType should be final. |
538
|
| Parameter jdbcType should be final. |
560
|
| Parameter type should be final. |
576
|
| Parameter sqlType should be final. |
593
|
| Parameter type should be final. |
610
|
| Parameter type should be final. |
622
|
| Parameter type should be final. |
634
|
| Parameter type should be final. |
645
|
org/apache/torque/engine/database/model/Unique.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
49
|
org/apache/torque/engine/database/model/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/apache/torque/engine/database/transform/DTDResolver.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Name 'databaseDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
44
|
| Expected @throws tag for 'SAXException'. |
53
|
| Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Parameter publicId should be final. |
87
|
| Parameter systemId should be final. |
87
|
| Expected @throws tag for 'IOException'. |
88
|
| Parameter urlString should be final. |
116
|
| Expected @throws tag for 'IOException'. |
117
|
org/apache/torque/engine/database/transform/SQLToAppData.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
46
|
| Name 'sqlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
46
|
| Missing a Javadoc comment. |
47
|
| Name 'tokens' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
47
|
| Missing a Javadoc comment. |
48
|
| Name 'token' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
48
|
| Missing a Javadoc comment. |
49
|
| Name 'appData' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
| Missing a Javadoc comment. |
50
|
| Name 'appDataDB' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
| Missing a Javadoc comment. |
51
|
| Name 'count' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
51
|
| Missing a Javadoc comment. |
52
|
| Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
| Missing a Javadoc comment. |
53
|
| Name 'basePropsFilePath' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
| Parameter sqlFile should be final. |
60
|
| 'sqlFile' hides a field. |
60
|
| Parameter sqlFile should be final. |
74
|
| 'sqlFile' hides a field. |
74
|
| Parameter databaseType should be final. |
74
|
| 'databaseType' hides a field. |
74
|
| Expected @param tag for 'databaseType'. |
74
|
| Parameter basePropsFilePath should be final. |
75
|
| 'basePropsFilePath' hides a field. |
75
|
| Expected @param tag for 'basePropsFilePath'. |
75
|
| Method 'getSqlFile' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Method 'setSqlFile' is not designed for extension - needs to be abstract, final or empty. |
97
|
| Parameter sqlFile should be final. |
97
|
| 'sqlFile' hides a field. |
97
|
| Expected @throws tag for 'ParseException'. |
108
|
| Parameter name should be final. |
128
|
| Expected @throws tag for 'ParseException'. |
128
|
| Expected @throws tag for 'ParseException'. |
149
|
| Name 'create_Table' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
163
|
| Name 'create_Table_Column' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
198
|
| Parameter tbl should be final. |
198
|
| Expected @param tag for 'tbl'. |
198
|
| Name 'create_Table_Column_Primary' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
231
|
| Parameter tbl should be final. |
231
|
| Expected @param tag for 'tbl'. |
231
|
| Name 'create_Table_Column_Unique' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
278
|
| Parameter tbl should be final. |
278
|
| Expected @param tag for 'tbl'. |
278
|
| Name 'create_Table_Column_Foreign' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
313
|
| Parameter tbl should be final. |
313
|
| Expected @param tag for 'tbl'. |
313
|
| Name 'create_Table_Column_Data' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
384
|
| Parameter tbl should be final. |
384
|
| Expected @param tag for 'tbl'. |
384
|
| Expected an @return tag. |
534
|
| Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
534
|
| Parameter args should be final. |
574
|
| Array brackets at illegal position. |
574
|
org/apache/torque/engine/database/transform/XmlToAppData.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
59
|
| Name 'app' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
| Missing a Javadoc comment. |
60
|
| Name 'currDB' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
| Missing a Javadoc comment. |
61
|
| Name 'currTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
61
|
| Missing a Javadoc comment. |
62
|
| Name 'currColumn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
| Missing a Javadoc comment. |
63
|
| Name 'currFK' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
63
|
| Missing a Javadoc comment. |
64
|
| Name 'currIndex' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
64
|
| Missing a Javadoc comment. |
65
|
| Name 'currUnique' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
65
|
| Missing a Javadoc comment. |
67
|
| Name 'firstPass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
67
|
| Missing a Javadoc comment. |
68
|
| Name 'isExternalSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
| Missing a Javadoc comment. |
69
|
| Name 'currentPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
| Missing a Javadoc comment. |
70
|
| Name 'currentXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
70
|
| Missing a Javadoc comment. |
71
|
| Name 'defaultPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
71
|
| Missing a Javadoc comment. |
73
|
| Name 'alreadyReadFiles' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
76
|
| Name 'parsingStack' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
79
|
| Parameter databaseType should be final. |
95
|
| Parameter defaultPackage should be final. |
95
|
| 'defaultPackage' hides a field. |
95
|
| Parameter basePropsFilePath should be final. |
96
|
| Method 'parseFile' is not designed for extension - needs to be abstract, final or empty. |
110
|
| Parameter xmlFile should be final. |
110
|
| Expected @throws tag for 'EngineException'. |
111
|
| '3' is a magic number. |
128
|
| Line has trailing spaces. |
130
|
| Line has trailing spaces. |
133
|
| Line has trailing spaces. |
135
|
| Line has trailing spaces. |
137
|
| Line has trailing spaces. |
151
|
| Line has trailing spaces. |
171
|
| Line is longer than 80 characters. |
178
|
| Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. |
180
|
| Parameter publicId should be final. |
180
|
| Parameter systemId should be final. |
180
|
| Expected @throws tag for 'SAXException'. |
181
|
| Line has trailing spaces. |
183
|
| Line contains a tab character. |
183
|
| Line contains a tab character. |
184
|
| Line contains a tab character. |
185
|
| Line has trailing spaces. |
186
|
| Line contains a tab character. |
186
|
| Line has trailing spaces. |
187
|
| Line contains a tab character. |
187
|
| Line contains a tab character. |
188
|
| Line contains a tab character. |
189
|
| Line contains a tab character. |
190
|
| Method 'startElement' is not designed for extension - needs to be abstract, final or empty. |
204
|
| Parameter uri should be final. |
204
|
| Expected @param tag for 'uri'. |
204
|
| Parameter localName should be final. |
204
|
| Parameter rawName should be final. |
204
|
| Parameter attributes should be final. |
205
|
| Expected @throws tag for 'SAXException'. |
206
|
| Method 'endElement' is not designed for extension - needs to be abstract, final or empty. |
308
|
| Parameter uri should be final. |
308
|
| Expected @param tag for 'uri'. |
308
|
| Parameter localName should be final. |
308
|
| Parameter rawName should be final. |
308
|
| Utility classes should not have a public or default constructor. |
321
|
| Missing a Javadoc comment. |
323
|
| Name 'isExternalSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
323
|
| Missing a Javadoc comment. |
324
|
| Name 'currentPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
324
|
| Missing a Javadoc comment. |
325
|
| Name 'currentXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
325
|
| Missing a Javadoc comment. |
326
|
| Name 'firstPass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
326
|
| Parameter parser should be final. |
332
|
| Expected @param tag for 'parser'. |
332
|
| Parameter parser should be final. |
349
|
| Expected @param tag for 'parser'. |
349
|
| Parameter parser should be final. |
369
|
| Expected @param tag for 'parser'. |
369
|
org/apache/torque/engine/database/transform/XmlToData.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
58
|
| Name 'database' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
58
|
| Missing a Javadoc comment. |
59
|
| Name 'data' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
| Missing a Javadoc comment. |
60
|
| Name 'dtdFileName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
| Missing a Javadoc comment. |
61
|
| Name 'dtdFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
61
|
| Missing a Javadoc comment. |
62
|
| Name 'dataDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
| Missing a Javadoc comment. |
64
|
| Parameter database should be final. |
75
|
| 'database' hides a field. |
75
|
| Expected @param tag for 'database'. |
75
|
| Parameter dtdFilePath should be final. |
75
|
| Expected @param tag for 'dtdFilePath'. |
75
|
| Expected @throws tag for 'MalformedURLException'. |
76
|
| Redundant throws: 'MalformedURLException' is subclass of 'IOException'. |
76
|
| Expected @throws tag for 'IOException'. |
76
|
| Expected an @return tag. |
87
|
| Method 'parseFile' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Parameter xmlFile should be final. |
87
|
| Expected @param tag for 'xmlFile'. |
87
|
| Expected @throws tag for 'Exception'. |
88
|
| Method 'startElement' is not designed for extension - needs to be abstract, final or empty. |
111
|
| Parameter uri should be final. |
111
|
| Expected @param tag for 'uri'. |
111
|
| Parameter localName should be final. |
111
|
| Expected @param tag for 'localName'. |
111
|
| Parameter rawName should be final. |
111
|
| Expected @param tag for 'rawName'. |
111
|
| Parameter attributes should be final. |
112
|
| Expected @param tag for 'attributes'. |
112
|
| Expected @throws tag for 'SAXException'. |
113
|
| Must have at least one statement. |
118
|
| Line has trailing spaces. |
137
|
| Line has trailing spaces. |
138
|
| Line has trailing spaces. |
141
|
| Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. |
159
|
| Parameter publicId should be final. |
159
|
| Expected @param tag for 'publicId'. |
159
|
| Parameter systemId should be final. |
159
|
| Expected @param tag for 'systemId'. |
159
|
| Expected @throws tag for 'SAXException'. |
160
|
| Line has trailing spaces. |
162
|
| Line contains a tab character. |
162
|
| Line contains a tab character. |
163
|
| Line contains a tab character. |
164
|
| Line contains a tab character. |
165
|
| Line contains a tab character. |
166
|
| Line contains a tab character. |
167
|
| Line contains a tab character. |
168
|
| Line contains a tab character. |
169
|
| Line contains a tab character. |
170
|
| Line contains a tab character. |
171
|
| Line contains a tab character. |
172
|
| Line contains a tab character. |
173
|
| Line has trailing spaces. |
174
|
| Line contains a tab character. |
174
|
| Line has trailing spaces. |
175
|
| Line contains a tab character. |
175
|
| Line contains a tab character. |
176
|
| Line contains a tab character. |
177
|
| Line contains a tab character. |
178
|
| Method 'getInputSource' is not designed for extension - needs to be abstract, final or empty. |
187
|
| Parameter urlString should be final. |
187
|
| Expected @param tag for 'urlString'. |
187
|
| Expected @throws tag for 'IOException'. |
188
|
| Missing a Javadoc comment. |
200
|
| Name 'table' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
200
|
| Missing a Javadoc comment. |
201
|
| Name 'columnValues' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
201
|
| Missing a Javadoc comment. |
203
|
| Parameter table should be final. |
203
|
| 'table' hides a field. |
203
|
| Parameter columnValues should be final. |
203
|
| 'columnValues' hides a field. |
203
|
| Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
209
|
| Missing a Javadoc comment. |
209
|
| Method 'getColumnValues' is not designed for extension - needs to be abstract, final or empty. |
214
|
| Missing a Javadoc comment. |
214
|
| Missing a Javadoc comment. |
225
|
| Name 'col' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
225
|
| Missing a Javadoc comment. |
226
|
| Name 'val' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
226
|
| Missing a Javadoc comment. |
228
|
| Parameter col should be final. |
228
|
| 'col' hides a field. |
228
|
| Parameter val should be final. |
228
|
| 'val' hides a field. |
228
|
| Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. |
234
|
| Missing a Javadoc comment. |
234
|
| Method 'getValue' is not designed for extension - needs to be abstract, final or empty. |
239
|
| Missing a Javadoc comment. |
239
|
| Method 'getEscapedValue' is not designed for extension - needs to be abstract, final or empty. |
244
|
| Missing a Javadoc comment. |
244
|
org/apache/torque/engine/database/transform/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/apache/torque/engine/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/apache/torque/engine/sql/ParseException.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Parameter err should be final. |
33
|
org/apache/torque/engine/sql/SQLScanner.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Name 'in' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
56
|
| Name 'chr' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
58
|
| Name 'token' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
| Name 'tokens' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
| Name 'line' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
64
|
| Name 'col' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
66
|
| Parameter input should be final. |
81
|
| Method 'setInput' is not designed for extension - needs to be abstract, final or empty. |
91
|
| Parameter input should be final. |
91
|
| Method 'scan' is not designed for extension - needs to be abstract, final or empty. |
164
|
org/apache/torque/engine/sql/Token.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Name 'str' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
31
|
| Name 'line' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
33
|
| Name 'col' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
35
|
| Parameter str should be final. |
42
|
| 'str' hides a field. |
42
|
| Parameter str should be final. |
54
|
| 'str' hides a field. |
54
|
| Parameter line should be final. |
54
|
| 'line' hides a field. |
54
|
| Parameter col should be final. |
54
|
| 'col' hides a field. |
54
|
| Method 'getStr' is not designed for extension - needs to be abstract, final or empty. |
66
|
| Method 'getLine' is not designed for extension - needs to be abstract, final or empty. |
76
|
| Method 'getCol' is not designed for extension - needs to be abstract, final or empty. |
86
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
96
|
org/apache/torque/engine/sql/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/apache/torque/task/PackageAsPathTask.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Name 'pckg' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
32
|
| Variable 'pckg' must be private and have accessor methods. |
32
|
| Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
35
|
| Variable 'name' must be private and have accessor methods. |
35
|
| Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
41
|
| Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Parameter pckg should be final. |
50
|
| 'pckg' hides a field. |
50
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
58
|
| Parameter name should be final. |
58
|
| 'name' hides a field. |
58
|
org/apache/torque/task/TorqueDataDumpTask.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Name 'databaseName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
44
|
| Name 'databaseUrl' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
| Name 'databaseDriver' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
| Name 'databaseUser' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
| Name 'databasePassword' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
64
|
| Name 'conn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
| Name 'stmt' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
74
|
| Method 'getDatabaseName' is not designed for extension - needs to be abstract, final or empty. |
81
|
| Method 'setDatabaseName' is not designed for extension - needs to be abstract, final or empty. |
91
|
| Parameter v should be final. |
91
|
| Method 'getDatabaseUrl' is not designed for extension - needs to be abstract, final or empty. |
101
|
| Method 'setDatabaseUrl' is not designed for extension - needs to be abstract, final or empty. |
111
|
| Parameter v should be final. |
111
|
| Method 'getDatabaseDriver' is not designed for extension - needs to be abstract, final or empty. |
121
|
| Method 'setDatabaseDriver' is not designed for extension - needs to be abstract, final or empty. |
131
|
| Parameter v should be final. |
131
|
| Method 'getDatabaseUser' is not designed for extension - needs to be abstract, final or empty. |
141
|
| Method 'setDatabaseUser' is not designed for extension - needs to be abstract, final or empty. |
151
|
| Parameter v should be final. |
151
|
| Method 'getDatabasePassword' is not designed for extension - needs to be abstract, final or empty. |
161
|
| Method 'setDatabasePassword' is not designed for extension - needs to be abstract, final or empty. |
171
|
| Parameter v should be final. |
171
|
| Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
182
|
| Method 'cleanup' is not designed for extension - needs to be abstract, final or empty. |
226
|
| Name 'qds' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
251
|
| Name 'isEmpty' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
253
|
| Name 'curIndex' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
255
|
| Name 'curRec' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
257
|
| Parameter qds should be final. |
272
|
| 'qds' hides a field. |
272
|
| Method 'fetch' is not designed for extension - needs to be abstract, final or empty. |
286
|
| Parameter tableName should be final. |
286
|
| Method 'hasNext' is not designed for extension - needs to be abstract, final or empty. |
300
|
| Method 'next' is not designed for extension - needs to be abstract, final or empty. |
320
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
320
|
| Method 'get' is not designed for extension - needs to be abstract, final or empty. |
342
|
| Parameter columnName should be final. |
342
|
| Method 'remove' is not designed for extension - needs to be abstract, final or empty. |
361
|
| Redundant throws: 'UnsupportedOperationException' is unchecked exception. |
361
|
org/apache/torque/task/TorqueDataModelTask.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Name 'xmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
58
|
| Variable 'xmlFile' must be private and have accessor methods. |
58
|
| Name 'filesets' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
63
|
| Variable 'filesets' must be private and have accessor methods. |
63
|
| Name 'dataModels' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
| Variable 'dataModels' must be private and have accessor methods. |
68
|
| Name 'context' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
74
|
| Variable 'context' must be private and have accessor methods. |
74
|
| Name 'dataModelDbMap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
82
|
| Variable 'dataModelDbMap' must be private and have accessor methods. |
82
|
| Name 'databaseNames' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
88
|
| Variable 'databaseNames' must be private and have accessor methods. |
88
|
| Name 'sqldbmap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
99
|
| Variable 'sqldbmap' must be private and have accessor methods. |
99
|
| Name 'basePathToDbProps' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
106
|
| Name 'targetDatabase' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
114
|
| Name 'targetPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
119
|
| Method 'setSqlDbMap' is not designed for extension - needs to be abstract, final or empty. |
127
|
| Parameter sqldbmap should be final. |
127
|
| 'sqldbmap' hides a field. |
127
|
| Method 'getSqlDbMap' is not designed for extension - needs to be abstract, final or empty. |
138
|
| Method 'getDataModels' is not designed for extension - needs to be abstract, final or empty. |
149
|
| Method 'getDataModelDbMap' is not designed for extension - needs to be abstract, final or empty. |
159
|
| Method 'getXmlFile' is not designed for extension - needs to be abstract, final or empty. |
169
|
| Method 'setXmlFile' is not designed for extension - needs to be abstract, final or empty. |
179
|
| Parameter xmlFile should be final. |
179
|
| 'xmlFile' hides a field. |
179
|
| Method 'addFileset' is not designed for extension - needs to be abstract, final or empty. |
189
|
| Parameter set should be final. |
189
|
| Method 'getTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
199
|
| Method 'setTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
209
|
| Parameter v should be final. |
209
|
| Method 'getTargetPackage' is not designed for extension - needs to be abstract, final or empty. |
219
|
| Method 'setTargetPackage' is not designed for extension - needs to be abstract, final or empty. |
230
|
| Parameter v should be final. |
230
|
| Method 'getBasePathToDbProps' is not designed for extension - needs to be abstract, final or empty. |
241
|
| Method 'setBasePathToDbProps' is not designed for extension - needs to be abstract, final or empty. |
253
|
| Parameter v should be final. |
253
|
| Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
264
|
| Expected @throws tag for 'Exception'. |
264
|
| Redundant throws: 'Exception' is unchecked exception. |
264
|
| Line has trailing spaces. |
294
|
| Line has trailing spaces. |
296
|
| Line has trailing spaces. |
310
|
| Line has trailing spaces. |
314
|
| Parameter xmlFile should be final. |
348
|
| 'xmlFile' hides a field. |
348
|
| Method 'setContextProperties' is not designed for extension - needs to be abstract, final or empty. |
387
|
| Parameter file should be final. |
387
|
org/apache/torque/task/TorqueDataSQLTask.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Name 'dataXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
| Name 'dataDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
55
|
| Name 'targetDatabase' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
61
|
| Method 'setDataXmlFile' is not designed for extension - needs to be abstract, final or empty. |
68
|
| Parameter dataXmlFile should be final. |
68
|
| 'dataXmlFile' hides a field. |
68
|
| Method 'getDataXmlFile' is not designed for extension - needs to be abstract, final or empty. |
78
|
| Method 'getTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
88
|
| Method 'setTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
99
|
| Parameter v should be final. |
99
|
| Method 'getDataDTD' is not designed for extension - needs to be abstract, final or empty. |
109
|
| Method 'setDataDTD' is not designed for extension - needs to be abstract, final or empty. |
119
|
| Parameter dataDTD should be final. |
119
|
| 'dataDTD' hides a field. |
119
|
| Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
130
|
| Redundant throws: 'Exception' is unchecked exception. |
130
|
| Line has trailing spaces. |
144
|
| Line has trailing spaces. |
146
|
| Line has trailing spaces. |
155
|
| Line has trailing spaces. |
164
|
| Line has trailing spaces. |
191
|
| Line is longer than 80 characters. |
193
|
org/apache/torque/task/TorqueDocumentationTask.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Name 'outputFormat' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
30
|
| Method 'getOutputFormat' is not designed for extension - needs to be abstract, final or empty. |
37
|
| Method 'setOutputFormat' is not designed for extension - needs to be abstract, final or empty. |
47
|
| Parameter v should be final. |
47
|
| Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
58
|
org/apache/torque/task/TorqueJDBCTransformTask.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Name 'xmlSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
| Variable 'xmlSchema' must be private and have accessor methods. |
62
|
| Name 'dbUrl' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
65
|
| Variable 'dbUrl' must be private and have accessor methods. |
65
|
| Name 'dbDriver' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
| Variable 'dbDriver' must be private and have accessor methods. |
68
|
| Name 'dbUser' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
71
|
| Variable 'dbUser' must be private and have accessor methods. |
71
|
| Name 'dbPassword' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
74
|
| Variable 'dbPassword' must be private and have accessor methods. |
74
|
| Name 'dbSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
77
|
| Variable 'dbSchema' must be private and have accessor methods. |
77
|
| Name 'doc' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
80
|
| Variable 'doc' must be private and have accessor methods. |
80
|
| Name 'databaseNode' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
83
|
| Variable 'databaseNode' must be private and have accessor methods. |
83
|
| Name 'primaryKeys' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
86
|
| Variable 'primaryKeys' must be private and have accessor methods. |
86
|
| Name 'columnTableMap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
89
|
| Variable 'columnTableMap' must be private and have accessor methods. |
89
|
| Missing a Javadoc comment. |
91
|
| Name 'sameJavaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
91
|
| Variable 'sameJavaName' must be private and have accessor methods. |
91
|
| Missing a Javadoc comment. |
93
|
| Name 'xmlSerializer' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
93
|
| Method 'getDbSchema' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Missing a Javadoc comment. |
95
|
| Method 'setDbSchema' is not designed for extension - needs to be abstract, final or empty. |
100
|
| Missing a Javadoc comment. |
100
|
| Parameter dbSchema should be final. |
100
|
| 'dbSchema' hides a field. |
100
|
| Method 'setDbUrl' is not designed for extension - needs to be abstract, final or empty. |
105
|
| Missing a Javadoc comment. |
105
|
| Parameter v should be final. |
105
|
| Method 'setDbDriver' is not designed for extension - needs to be abstract, final or empty. |
110
|
| Missing a Javadoc comment. |
110
|
| Parameter v should be final. |
110
|
| Method 'setDbUser' is not designed for extension - needs to be abstract, final or empty. |
115
|
| Missing a Javadoc comment. |
115
|
| Parameter v should be final. |
115
|
| Method 'setDbPassword' is not designed for extension - needs to be abstract, final or empty. |
120
|
| Missing a Javadoc comment. |
120
|
| Parameter v should be final. |
120
|
| Method 'setOutputFile' is not designed for extension - needs to be abstract, final or empty. |
125
|
| Missing a Javadoc comment. |
125
|
| Parameter v should be final. |
125
|
| Method 'setSameJavaName' is not designed for extension - needs to be abstract, final or empty. |
130
|
| Missing a Javadoc comment. |
130
|
| Parameter v should be final. |
130
|
| Method 'isSameJavaName' is not designed for extension - needs to be abstract, final or empty. |
135
|
| Missing a Javadoc comment. |
135
|
| Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
145
|
| Expected @throws tag for 'BuildException'. |
145
|
| Redundant throws: 'BuildException' is unchecked exception. |
145
|
| Method 'generateXML' is not designed for extension - needs to be abstract, final or empty. |
183
|
| Method length is 155 lines (max allowed is 150). |
183
|
| '3' is a magic number. |
268
|
| '4' is a magic number. |
269
|
| Method 'getTableNames' is not designed for extension - needs to be abstract, final or empty. |
348
|
| Parameter dbMeta should be final. |
348
|
| Expected @throws tag for 'SQLException'. |
349
|
| '3' is a magic number. |
361
|
| '4' is a magic number. |
362
|
| Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. |
391
|
| Parameter dbMeta should be final. |
391
|
| Parameter tableName should be final. |
391
|
| Expected @throws tag for 'SQLException'. |
392
|
| '4' is a magic number. |
401
|
| '5' is a magic number. |
402
|
| '7' is a magic number. |
403
|
| '11' is a magic number. |
404
|
| '13' is a magic number. |
405
|
| '5' is a magic number. |
407
|
| Method 'getPrimaryKeys' is not designed for extension - needs to be abstract, final or empty. |
435
|
| Parameter dbMeta should be final. |
435
|
| Parameter tableName should be final. |
435
|
| Expected @throws tag for 'SQLException'. |
436
|
| '4' is a magic number. |
445
|
| Method 'getForeignKeys' is not designed for extension - needs to be abstract, final or empty. |
466
|
| Parameter dbMeta should be final. |
466
|
| Parameter tableName should be final. |
466
|
| Expected @throws tag for 'SQLException'. |
467
|
| '3' is a magic number. |
476
|
| '12' is a magic number. |
477
|
| '8' is a magic number. |
498
|
| '4' is a magic number. |
499
|
org/apache/torque/task/TorqueSQLExec.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
67
|
| Name 'goodSql' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
67
|
| Missing a Javadoc comment. |
68
|
| Name 'totalSql' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
| Missing a Javadoc comment. |
69
|
| Name 'classpath' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
| Missing a Javadoc comment. |
70
|
| Name 'loader' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
70
|
| Missing a Javadoc comment. |
77
|
| Missing a Javadoc comment. |
78
|
| Method 'getValues' is not designed for extension - needs to be abstract, final or empty. |
80
|
| Missing a Javadoc comment. |
80
|
| Name 'conn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
87
|
| Name 'autocommit' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
90
|
| Name 'statement' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
93
|
| Name 'driver' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
96
|
| Name 'url' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
99
|
| Name 'userId' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
102
|
| Name 'password' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
105
|
| Name 'sqlCommand' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
108
|
| Name 'delimiter' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
111
|
| Name 'delimiterType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
117
|
| Name 'print' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
120
|
| Name 'showheaders' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
123
|
| Name 'output' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
126
|
| Name 'rdbms' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
129
|
| Name 'version' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
132
|
| Name 'onError' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
135
|
| Name 'encoding' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
138
|
| Name 'srcDir' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
141
|
| Name 'sqldbmap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
144
|
| Method 'setSqlDbMap' is not designed for extension - needs to be abstract, final or empty. |
151
|
| Parameter sqldbmap should be final. |
151
|
| 'sqldbmap' hides a field. |
151
|
| Method 'getSqlDbMap' is not designed for extension - needs to be abstract, final or empty. |
161
|
| Method 'setSrcDir' is not designed for extension - needs to be abstract, final or empty. |
171
|
| Parameter srcDir should be final. |
171
|
| 'srcDir' hides a field. |
171
|
| Method 'getSrcDir' is not designed for extension - needs to be abstract, final or empty. |
181
|
| Method 'setClasspath' is not designed for extension - needs to be abstract, final or empty. |
191
|
| Parameter classpath should be final. |
191
|
| 'classpath' hides a field. |
191
|
| Method 'createClasspath' is not designed for extension - needs to be abstract, final or empty. |
208
|
| Method 'setClasspathRef' is not designed for extension - needs to be abstract, final or empty. |
222
|
| Parameter r should be final. |
222
|
| Method 'addText' is not designed for extension - needs to be abstract, final or empty. |
232
|
| Parameter sql should be final. |
232
|
| Method 'setDriver' is not designed for extension - needs to be abstract, final or empty. |
242
|
| Parameter driver should be final. |
242
|
| 'driver' hides a field. |
242
|
| Method 'setUrl' is not designed for extension - needs to be abstract, final or empty. |
252
|
| Parameter url should be final. |
252
|
| 'url' hides a field. |
252
|
| Method 'setUserid' is not designed for extension - needs to be abstract, final or empty. |
262
|
| Parameter userId should be final. |
262
|
| 'userId' hides a field. |
262
|
| Method 'setEncoding' is not designed for extension - needs to be abstract, final or empty. |
272
|
| Parameter encoding should be final. |
272
|
| 'encoding' hides a field. |
272
|
| Method 'setPassword' is not designed for extension - needs to be abstract, final or empty. |
282
|
| Parameter password should be final. |
282
|
| 'password' hides a field. |
282
|
| Method 'setAutocommit' is not designed for extension - needs to be abstract, final or empty. |
292
|
| Parameter autocommit should be final. |
292
|
| 'autocommit' hides a field. |
292
|
| Method 'setDelimiter' is not designed for extension - needs to be abstract, final or empty. |
305
|
| Parameter delimiter should be final. |
305
|
| 'delimiter' hides a field. |
305
|
| Expected @param tag for 'delimiter'. |
305
|
| Method 'setDelimiterType' is not designed for extension - needs to be abstract, final or empty. |
318
|
| Parameter delimiterType should be final. |
318
|
| 'delimiterType' hides a field. |
318
|
| Expected @param tag for 'delimiterType'. |
318
|
| Method 'setPrint' is not designed for extension - needs to be abstract, final or empty. |
328
|
| Parameter print should be final. |
328
|
| 'print' hides a field. |
328
|
| Expected @param tag for 'print'. |
328
|
| Method 'setShowheaders' is not designed for extension - needs to be abstract, final or empty. |
338
|
| Parameter showheaders should be final. |
338
|
| 'showheaders' hides a field. |
338
|
| Expected @param tag for 'showheaders'. |
338
|
| Method 'setOutput' is not designed for extension - needs to be abstract, final or empty. |
348
|
| Parameter output should be final. |
348
|
| 'output' hides a field. |
348
|
| Expected @param tag for 'output'. |
348
|
| Method 'setRdbms' is not designed for extension - needs to be abstract, final or empty. |
358
|
| Parameter vendor should be final. |
358
|
| Expected @param tag for 'vendor'. |
358
|
| Method 'setVersion' is not designed for extension - needs to be abstract, final or empty. |
368
|
| Parameter version should be final. |
368
|
| 'version' hides a field. |
368
|
| Expected @param tag for 'version'. |
368
|
| Method 'setOnerror' is not designed for extension - needs to be abstract, final or empty. |
378
|
| Parameter action should be final. |
378
|
| Expected @param tag for 'action'. |
378
|
| Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
388
|
| Expected @throws tag for 'BuildException'. |
388
|
| Redundant throws: 'BuildException' is unchecked exception. |
388
|
| Expression can be simplified. |
392
|
| Parameter url should be final. |
494
|
| 'url' hides a field. |
494
|
| Expected @param tag for 'url'. |
494
|
| Parameter database should be final. |
494
|
| Expected @param tag for 'database'. |
494
|
| Parameter transactions should be final. |
495
|
| Expected @param tag for 'transactions'. |
495
|
| Must have at least one statement. |
597
|
| Must have at least one statement. |
612
|
| Must have at least one statement. |
632
|
| Method 'runStatements' is not designed for extension - needs to be abstract, final or empty. |
649
|
| Parameter reader should be final. |
649
|
| Expected @param tag for 'reader'. |
649
|
| Parameter out should be final. |
649
|
| Expected @param tag for 'out'. |
649
|
| Expected @throws tag for 'SQLException'. |
650
|
| Expected @throws tag for 'IOException'. |
650
|
| '4' is a magic number. |
668
|
| '4' is a magic number. |
669
|
| Expected an @return tag. |
714
|
| Method 'isValidRdbms' is not designed for extension - needs to be abstract, final or empty. |
714
|
| Parameter conn should be final. |
714
|
| 'conn' hides a field. |
714
|
| Expected @param tag for 'conn'. |
714
|
| Method 'execSQL' is not designed for extension - needs to be abstract, final or empty. |
770
|
| Parameter sql should be final. |
770
|
| Expected @param tag for 'sql'. |
770
|
| Parameter out should be final. |
770
|
| Expected @param tag for 'out'. |
770
|
| Expected @throws tag for 'SQLException'. |
770
|
| Method 'printResults' is not designed for extension - needs to be abstract, final or empty. |
820
|
| Parameter out should be final. |
820
|
| Expected @param tag for 'out'. |
820
|
| Expected @throws tag for 'java.sql.SQLException'. |
820
|
| Method 'getValues' is not designed for extension - needs to be abstract, final or empty. |
879
|
| Missing a Javadoc comment. |
879
|
| Missing a Javadoc comment. |
893
|
| Name 'tSrcFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
893
|
| Missing a Javadoc comment. |
894
|
| Name 'tSqlCommand' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
894
|
| Method 'setSrc' is not designed for extension - needs to be abstract, final or empty. |
896
|
| Missing a Javadoc comment. |
896
|
| Parameter src should be final. |
896
|
| Method 'addText' is not designed for extension - needs to be abstract, final or empty. |
901
|
| Missing a Javadoc comment. |
901
|
| Parameter sql should be final. |
901
|
| Missing a Javadoc comment. |
906
|
| Parameter out should be final. |
906
|
| Avoid inline conditionals. |
919
|
org/apache/torque/task/TorqueSQLTask.java
Error | Line |
| Line does not match expected header line of ' Apache License'. |
2
|
| Missing a Javadoc comment. |
49
|
| Name 'database' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
| Missing a Javadoc comment. |
50
|
| Name 'suffix' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
| Missing a Javadoc comment. |
52
|
| Name 'idTableXMLFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
| Method 'setDatabase' is not designed for extension - needs to be abstract, final or empty. |
58
|
| Parameter database should be final. |
58
|
| 'database' hides a field. |
58
|
| Expected @param tag for 'database'. |
58
|
| Expected an @return tag. |
67
|
| Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. |
67
|
| Method 'setSuffix' is not designed for extension - needs to be abstract, final or empty. |
76
|
| Parameter suffix should be final. |
76
|
| 'suffix' hides a field. |
76
|
| Expected @param tag for 'suffix'. |
76
|
| Expected an @return tag. |
85
|
| Method 'getSuffix' is not designed for extension - needs to be abstract, final or empty. |
85
|
| Method 'setIdTableXMLFile' is not designed for extension - needs to be abstract, final or empty. |
96
|
| Parameter idXmlFile should be final. |
96
|
| Method 'getIdTableXMLFile' is not designed for extension - needs to be abstract, final or empty. |
106
|
| Expected @throws tag for 'Exception'. |
116
|
| Redundant throws: 'Exception' is unchecked exception. |
116
|
| Method 'loadIdBrokerModel' is not designed for extension - needs to be abstract, final or empty. |
167
|
| Expected @throws tag for 'EngineException'. |
168
|
| Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
187
|
| Expected @throws tag for 'Exception'. |
187
|
| Redundant throws: 'Exception' is unchecked exception. |
187
|
org/apache/torque/task/TorqueSQLTransformTask.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Name 'inputFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
39
|
| Name 'outputFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
42
|
| Method 'getInputFile' is not designed for extension - needs to be abstract, final or empty. |
49
|
| Method 'setInputFile' is not designed for extension - needs to be abstract, final or empty. |
59
|
| Parameter v should be final. |
59
|
| Method 'getOutputFile' is not designed for extension - needs to be abstract, final or empty. |
69
|
| Method 'setOutputFile' is not designed for extension - needs to be abstract, final or empty. |
81
|
| Parameter v should be final. |
81
|
| Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
92
|
| Redundant throws: 'BuildException' is unchecked exception. |
92
|