Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
Files |
Infos |
Warnings |
Errors |
104 |
0 |
0 |
2028 |
Files
org/apache/torque/engine/EngineException.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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/Column.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Missing a Javadoc comment. |
44
|
|
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 'domain' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
|
Missing a Javadoc comment. |
50
|
|
Name 'javaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
|
Missing a Javadoc comment. |
51
|
|
Name 'javaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
51
|
|
Missing a Javadoc comment. |
52
|
|
Name 'isNotNull' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
|
Missing a Javadoc comment. |
53
|
|
Name 'isProtected' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
|
Missing a Javadoc comment. |
54
|
|
Name 'javaType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
|
Missing a Javadoc comment. |
55
|
|
Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
55
|
|
Missing a Javadoc comment. |
56
|
|
Name 'position' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
56
|
|
Missing a Javadoc comment. |
57
|
|
Name 'isPrimaryKey' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
57
|
|
Missing a Javadoc comment. |
58
|
|
Name 'isUnique' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
58
|
|
Missing a Javadoc comment. |
59
|
|
Name 'isAutoIncrement' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
|
Missing a Javadoc comment. |
60
|
|
Name 'referrers' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
|
Missing a Javadoc comment. |
65
|
|
Name 'inheritanceType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
65
|
|
Missing a Javadoc comment. |
66
|
|
Name 'isInheritance' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
66
|
|
Missing a Javadoc comment. |
67
|
|
Name 'isEnumeratedClasses' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
67
|
|
Missing a Javadoc comment. |
68
|
|
Name 'inheritanceList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
|
Missing a Javadoc comment. |
69
|
|
Name 'needsTransactionInPostgres' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
|
Name 'correctGetters' 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
|
|
Line has trailing spaces. |
128
|
|
Line has trailing spaces. |
131
|
|
Line is longer than 80 characters. |
134
|
|
Line has trailing spaces. |
197
|
|
Expected an @return tag. |
204
|
|
Method 'getFullyQualifiedName' is not designed for extension - needs to be abstract, final or empty. |
204
|
|
Expected an @return tag. |
212
|
|
Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
212
|
|
Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
220
|
|
Parameter newName should be final. |
220
|
|
Expected @param tag for 'newName'. |
220
|
|
Expected an @return tag. |
228
|
|
Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. |
228
|
|
Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. |
238
|
|
Parameter newDescription should be final. |
238
|
|
Line has trailing spaces. |
245
|
|
Method 'getJavaName' is not designed for extension - needs to be abstract, final or empty. |
248
|
|
Line has trailing spaces. |
267
|
|
Method 'getGetterName' is not designed for extension - needs to be abstract, final or empty. |
275
|
|
Method 'getSetterName' is not designed for extension - needs to be abstract, final or empty. |
294
|
|
Line has trailing spaces. |
301
|
|
Expected an @return tag. |
302
|
|
Method 'getUncapitalisedJavaName' is not designed for extension - needs to be abstract, final or empty. |
302
|
|
Method 'setJavaName' is not designed for extension - needs to be abstract, final or empty. |
310
|
|
Parameter javaName should be final. |
310
|
|
'javaName' hides a field. |
310
|
|
Expected @param tag for 'javaName'. |
310
|
|
Expected an @return tag. |
318
|
|
Method 'getJavaType' is not designed for extension - needs to be abstract, final or empty. |
318
|
|
Method 'getPosition' is not designed for extension - needs to be abstract, final or empty. |
327
|
|
Method 'setPosition' is not designed for extension - needs to be abstract, final or empty. |
336
|
|
Parameter v should be final. |
336
|
|
Method 'setTable' is not designed for extension - needs to be abstract, final or empty. |
344
|
|
Parameter parent should be final. |
344
|
|
Expected @param tag for 'parent'. |
344
|
|
Expected an @return tag. |
352
|
|
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
352
|
|
Expected an @return tag. |
360
|
|
Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. |
360
|
|
Expected an @return tag. |
369
|
|
Method 'addInheritance' is not designed for extension - needs to be abstract, final or empty. |
369
|
|
Parameter attrib should be final. |
369
|
|
Expected @param tag for 'attrib'. |
369
|
|
Method 'addInheritance' is not designed for extension - needs to be abstract, final or empty. |
382
|
|
Parameter inh should be final. |
382
|
|
Expected @param tag for 'inh'. |
382
|
|
Expected an @return tag. |
396
|
|
Method 'getChildren' is not designed for extension - needs to be abstract, final or empty. |
396
|
|
Expected an @return tag. |
405
|
|
Method 'isInheritance' is not designed for extension - needs to be abstract, final or empty. |
405
|
|
Expected an @return tag. |
413
|
|
Method 'isEnumeratedClasses' is not designed for extension - needs to be abstract, final or empty. |
413
|
|
Expected an @return tag. |
421
|
|
Method 'isNotNull' is not designed for extension - needs to be abstract, final or empty. |
421
|
|
Method 'setNotNull' is not designed for extension - needs to be abstract, final or empty. |
429
|
|
Parameter status should be final. |
429
|
|
Expected @param tag for 'status'. |
429
|
|
Line has trailing spaces. |
433
|
|
Line has trailing spaces. |
436
|
|
Method 'getNotNullString' is not designed for extension - needs to be abstract, final or empty. |
439
|
|
Expected an @return tag. |
448
|
|
Method 'isProtected' is not designed for extension - needs to be abstract, final or empty. |
448
|
|
Line has trailing spaces. |
452
|
|
Method 'setProtected' is not designed for extension - needs to be abstract, final or empty. |
456
|
|
Parameter prot should be final. |
456
|
|
Expected @param tag for 'prot'. |
456
|
|
Line has trailing spaces. |
460
|
|
Method 'setPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
464
|
|
Parameter pk should be final. |
464
|
|
Expected @param tag for 'pk'. |
464
|
|
Expected an @return tag. |
472
|
|
Method 'isPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
472
|
|
Method 'setUnique' is not designed for extension - needs to be abstract, final or empty. |
480
|
|
Parameter u should be final. |
480
|
|
Expected @param tag for 'u'. |
480
|
|
Expected an @return tag. |
488
|
|
Method 'isUnique' is not designed for extension - needs to be abstract, final or empty. |
488
|
|
Expected an @return tag. |
496
|
|
Method 'requiresTransactionInPostgres' is not designed for extension - needs to be abstract, final or empty. |
496
|
|
Expected an @return tag. |
504
|
|
Method 'isForeignKey' is not designed for extension - needs to be abstract, final or empty. |
504
|
|
Expected an @return tag. |
513
|
|
Method 'isMultipleFK' is not designed for extension - needs to be abstract, final or empty. |
513
|
|
Expected an @return tag. |
538
|
|
Method 'getForeignKey' is not designed for extension - needs to be abstract, final or empty. |
538
|
|
Expected an @return tag. |
547
|
|
Method 'getRelatedTableName' is not designed for extension - needs to be abstract, final or empty. |
547
|
|
Avoid inline conditionals. |
550
|
|
Expected an @return tag. |
557
|
|
Method 'getRelatedColumnName' is not designed for extension - needs to be abstract, final or empty. |
557
|
|
Method 'addReferrer' is not designed for extension - needs to be abstract, final or empty. |
573
|
|
Parameter fk should be final. |
573
|
|
Expected @param tag for 'fk'. |
573
|
|
'5' is a magic number. |
577
|
|
Expected an @return tag. |
585
|
|
Method 'getReferrers' is not designed for extension - needs to be abstract, final or empty. |
585
|
|
'5' is a magic number. |
589
|
|
Method 'setType' is not designed for extension - needs to be abstract, final or empty. |
597
|
|
Parameter torqueType should be final. |
597
|
|
Expected @param tag for 'torqueType'. |
597
|
|
Method 'setType' is not designed for extension - needs to be abstract, final or empty. |
611
|
|
Parameter torqueType should be final. |
611
|
|
Expected @param tag for 'torqueType'. |
611
|
|
Line has trailing spaces. |
620
|
|
Line has trailing spaces. |
623
|
|
Expected an @return tag. |
627
|
|
Method 'getType' is not designed for extension - needs to be abstract, final or empty. |
627
|
|
Expected an @return tag. |
635
|
|
Method 'getTorqueType' is not designed for extension - needs to be abstract, final or empty. |
635
|
|
Expected an @return tag. |
645
|
|
Method 'isString' is not designed for extension - needs to be abstract, final or empty. |
645
|
|
Expected an @return tag. |
654
|
|
Method 'needEscapedValue' is not designed for extension - needs to be abstract, final or empty. |
654
|
|
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
672
|
|
Line is longer than 80 characters. |
696
|
|
Line is longer than 80 characters. |
710
|
|
Expected an @return tag. |
728
|
|
Method 'getSize' is not designed for extension - needs to be abstract, final or empty. |
728
|
|
Method 'setSize' is not designed for extension - needs to be abstract, final or empty. |
736
|
|
Parameter newSize should be final. |
736
|
|
Expected @param tag for 'newSize'. |
736
|
|
Expected an @return tag. |
744
|
|
Method 'getScale' is not designed for extension - needs to be abstract, final or empty. |
744
|
|
Method 'setScale' is not designed for extension - needs to be abstract, final or empty. |
752
|
|
Parameter newScale should be final. |
752
|
|
Expected @param tag for 'newScale'. |
752
|
|
Method 'printSize' is not designed for extension - needs to be abstract, final or empty. |
763
|
|
Expected an @return tag. |
772
|
|
Method 'getDefaultSetting' is not designed for extension - needs to be abstract, final or empty. |
772
|
|
Method 'setDefaultValue' is not designed for extension - needs to be abstract, final or empty. |
780
|
|
Parameter def should be final. |
780
|
|
Expected @param tag for 'def'. |
780
|
|
Expected an @return tag. |
788
|
|
Method 'getDefaultValue' is not designed for extension - needs to be abstract, final or empty. |
788
|
|
Expected an @return tag. |
796
|
|
Method 'getInputValidator' is not designed for extension - needs to be abstract, final or empty. |
796
|
|
Expected an @return tag. |
805
|
|
Method 'isAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
805
|
|
Method 'setAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
814
|
|
Parameter value should be final. |
814
|
|
Expected @param tag for 'value'. |
814
|
|
Method 'getAutoIncrementString' is not designed for extension - needs to be abstract, final or empty. |
819
|
|
Missing a Javadoc comment. |
819
|
|
Line has trailing spaces. |
821
|
|
Line has trailing spaces. |
828
|
|
Method 'setTypeFromString' is not designed for extension - needs to be abstract, final or empty. |
833
|
|
Parameter typeName should be final. |
833
|
|
Expected @param tag for 'typeName'. |
833
|
|
Parameter size should be final. |
833
|
|
Expected @param tag for 'size'. |
833
|
|
Expected an @return tag. |
879
|
|
Method 'getJavaObject' is not designed for extension - needs to be abstract, final or empty. |
879
|
|
Method 'getJavaPrimitive' is not designed for extension - needs to be abstract, final or empty. |
890
|
|
Method 'getJavaNative' is not designed for extension - needs to be abstract, final or empty. |
903
|
|
Expected an @return tag. |
918
|
|
Method 'getVillageMethod' is not designed for extension - needs to be abstract, final or empty. |
918
|
|
Expected an @return tag. |
933
|
|
Method 'getParameterParserMethod' is not designed for extension - needs to be abstract, final or empty. |
933
|
|
Expected an @return tag. |
942
|
|
Method 'isBooleanInt' is not designed for extension - needs to be abstract, final or empty. |
942
|
|
Expected an @return tag. |
951
|
|
Method 'isBooleanChar' is not designed for extension - needs to be abstract, final or empty. |
951
|
|
Expected an @return tag. |
960
|
|
Method 'isBit' is not designed for extension - needs to be abstract, final or empty. |
960
|
|
Expected an @return tag. |
969
|
|
Method 'isPrimitive' is not designed for extension - needs to be abstract, final or empty. |
969
|
|
Method 'isUsePrimitive' is not designed for extension - needs to be abstract, final or empty. |
982
|
|
Missing a Javadoc comment. |
982
|
|
Method 'getDomain' is not designed for extension - needs to be abstract, final or empty. |
993
|
|
Method 'setDomain' is not designed for extension - needs to be abstract, final or empty. |
1001
|
|
Parameter domain should be final. |
1001
|
|
'domain' hides a field. |
1001
|
|
Missing a Javadoc comment. |
1006
|
|
Line has trailing spaces. |
1018
|
|
Method 'getSqlString' is not designed for extension - needs to be abstract, final or empty. |
1019
|
|
Missing a Javadoc comment. |
1019
|
|
Comment matches to-do format 'TODO:'. |
1035
|
|
Line has trailing spaces. |
1049
|
|
Method 'isCorrectGetters' is not designed for extension - needs to be abstract, final or empty. |
1056
|
|
Line has trailing spaces. |
1062
|
|
Method 'setCorrectGetters' is not designed for extension - needs to be abstract, final or empty. |
1069
|
|
Parameter correctGetters should be final. |
1069
|
|
'correctGetters' hides a field. |
1069
|
org/apache/torque/engine/database/model/ConstraintNameGenerator.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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. |
73
|
org/apache/torque/engine/database/model/Database.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Missing a Javadoc comment. |
45
|
|
Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
45
|
|
Missing a Javadoc comment. |
46
|
|
Name 'tableList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
46
|
|
'100' is a magic number. |
46
|
|
Missing a Javadoc comment. |
47
|
|
Name 'domainMap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
47
|
|
Missing a Javadoc comment. |
48
|
|
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
48
|
|
Missing a Javadoc comment. |
49
|
|
Name 'pkg' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
|
Missing a Javadoc comment. |
50
|
|
Name 'baseClass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
|
Missing a Javadoc comment. |
51
|
|
Name 'basePeer' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
51
|
|
Missing a Javadoc comment. |
52
|
|
Name 'defaultIdMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
|
Missing a Javadoc comment. |
53
|
|
Name 'defaultJavaType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
|
Missing a Javadoc comment. |
54
|
|
Name 'defaultJavaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
|
Missing a Javadoc comment. |
55
|
|
Name 'tablesByName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
55
|
|
Missing a Javadoc comment. |
56
|
|
Name 'tablesByJavaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
56
|
|
Missing a Javadoc comment. |
57
|
|
Name 'heavyIndexing' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
57
|
|
Name 'fileName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
|
Parameter databaseType should be final. |
66
|
|
'databaseType' hides a field. |
66
|
|
Line has trailing spaces. |
70
|
|
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
76
|
|
Parameter attrib should be final. |
76
|
|
Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
97
|
|
Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
107
|
|
Parameter name should be final. |
107
|
|
'name' hides a field. |
107
|
|
Avoid inline conditionals. |
111
|
|
Line has trailing spaces. |
113
|
|
Method 'getFileName' is not designed for extension - needs to be abstract, final or empty. |
114
|
|
Missing a Javadoc comment. |
114
|
|
Line has trailing spaces. |
118
|
|
Method 'setFileName' is not designed for extension - needs to be abstract, final or empty. |
119
|
|
Missing a Javadoc comment. |
119
|
|
Parameter name should be final. |
119
|
|
'name' hides a field. |
119
|
|
Method 'getPackage' is not designed for extension - needs to be abstract, final or empty. |
128
|
|
Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. |
137
|
|
Parameter v should be final. |
137
|
|
Method 'getBaseClass' is not designed for extension - needs to be abstract, final or empty. |
146
|
|
Method 'setBaseClass' is not designed for extension - needs to be abstract, final or empty. |
159
|
|
Parameter v should be final. |
159
|
|
Method 'getBasePeer' is not designed for extension - needs to be abstract, final or empty. |
168
|
|
Method 'setBasePeer' is not designed for extension - needs to be abstract, final or empty. |
181
|
|
Parameter v should be final. |
181
|
|
Method 'getDefaultIdMethod' is not designed for extension - needs to be abstract, final or empty. |
190
|
|
Method 'setDefaultIdMethod' is not designed for extension - needs to be abstract, final or empty. |
199
|
|
Parameter v should be final. |
199
|
|
Method 'getDefaultJavaType' is not designed for extension - needs to be abstract, final or empty. |
209
|
|
Method 'getDefaultJavaNamingMethod' is not designed for extension - needs to be abstract, final or empty. |
220
|
|
Method 'setDefaultJavaNamingMethod' is not designed for extension - needs to be abstract, final or empty. |
229
|
|
Parameter v should be final. |
229
|
|
Method 'isHeavyIndexing' is not designed for extension - needs to be abstract, final or empty. |
238
|
|
Method 'setHeavyIndexing' is not designed for extension - needs to be abstract, final or empty. |
247
|
|
Parameter v should be final. |
247
|
|
Method 'getTables' is not designed for extension - needs to be abstract, final or empty. |
257
|
|
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
268
|
|
Parameter name should be final. |
268
|
|
'name' hides a field. |
268
|
|
Method 'getTableByJavaName' is not designed for extension - needs to be abstract, final or empty. |
279
|
|
Parameter javaName should be final. |
279
|
|
Method 'addTable' is not designed for extension - needs to be abstract, final or empty. |
290
|
|
Parameter attrib should be final. |
290
|
|
Method 'addTable' is not designed for extension - needs to be abstract, final or empty. |
304
|
|
Parameter tbl should be final. |
304
|
|
Method 'addDomain' is not designed for extension - needs to be abstract, final or empty. |
313
|
|
Missing a Javadoc comment. |
313
|
|
Parameter domain should be final. |
313
|
|
'{' should be on a new line. |
313
|
|
Line has trailing spaces. |
316
|
|
Method 'getDomain' is not designed for extension - needs to be abstract, final or empty. |
317
|
|
Missing a Javadoc comment. |
317
|
|
Parameter domainName should be final. |
317
|
|
'{' should be on a new line. |
317
|
|
Line has trailing spaces. |
320
|
|
Method 'getDatabaseType' is not designed for extension - needs to be abstract, final or empty. |
321
|
|
Missing a Javadoc comment. |
321
|
|
Method 'setDatabaseType' is not designed for extension - needs to be abstract, final or empty. |
326
|
|
Missing a Javadoc comment. |
326
|
|
Parameter databaseType should be final. |
326
|
|
'databaseType' hides a field. |
326
|
|
Method 'getPlatform' is not designed for extension - needs to be abstract, final or empty. |
336
|
|
Method 'requiresIdTable' is not designed for extension - needs to be abstract, final or empty. |
349
|
|
Line has trailing spaces. |
365
|
|
Method 'doFinalInitialization' is not designed for extension - needs to be abstract, final or empty. |
368
|
|
Expected @throws tag for 'EngineException'. |
368
|
|
Line is longer than 80 characters. |
395
|
|
Line has trailing spaces. |
415
|
|
Line is longer than 80 characters. |
423
|
|
Line is longer than 80 characters. |
433
|
|
Line is longer than 80 characters. |
452
|
|
Line is longer than 80 characters. |
453
|
|
Line has trailing spaces. |
460
|
|
Line is longer than 80 characters. |
460
|
|
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
479
|
org/apache/torque/engine/database/model/Domain.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Missing a Javadoc comment. |
31
|
|
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
31
|
|
Missing a Javadoc comment. |
32
|
|
Name 'description' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
32
|
|
Missing a Javadoc comment. |
33
|
|
Name 'size' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
33
|
|
Missing a Javadoc comment. |
34
|
|
Name 'scale' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
34
|
|
Name 'torqueType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
36
|
|
Missing a Javadoc comment. |
37
|
|
Name 'sqlType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
37
|
|
Missing a Javadoc comment. |
38
|
|
Name 'defaultValue' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
38
|
|
Line has trailing spaces. |
39
|
|
Parameter name should be final. |
53
|
|
'name' hides a field. |
53
|
|
Line has trailing spaces. |
57
|
|
Parameter type should be final. |
61
|
|
Expected @param tag for 'type'. |
61
|
|
Parameter type should be final. |
71
|
|
Expected @param tag for 'type'. |
71
|
|
Parameter sqlType should be final. |
71
|
|
'sqlType' hides a field. |
71
|
|
Expected @param tag for 'sqlType'. |
71
|
|
Line has trailing spaces. |
77
|
|
Parameter type should be final. |
81
|
|
Expected @param tag for 'type'. |
81
|
|
Parameter sqlType should be final. |
81
|
|
'sqlType' hides a field. |
81
|
|
Expected @param tag for 'sqlType'. |
81
|
|
Parameter size should be final. |
81
|
|
'size' hides a field. |
81
|
|
Expected @param tag for 'size'. |
81
|
|
Parameter scale should be final. |
81
|
|
'scale' hides a field. |
81
|
|
Expected @param tag for 'scale'. |
81
|
|
Parameter type should be final. |
93
|
|
Expected @param tag for 'type'. |
93
|
|
Parameter sqlType should be final. |
93
|
|
'sqlType' hides a field. |
93
|
|
Expected @param tag for 'sqlType'. |
93
|
|
Parameter size should be final. |
93
|
|
'size' hides a field. |
93
|
|
Expected @param tag for 'size'. |
93
|
|
Line has trailing spaces. |
100
|
|
Missing a Javadoc comment. |
101
|
|
Parameter domain should be final. |
101
|
|
Line has trailing spaces. |
105
|
|
Method 'copy' is not designed for extension - needs to be abstract, final or empty. |
106
|
|
Missing a Javadoc comment. |
106
|
|
Parameter domain should be final. |
106
|
|
Line has trailing spaces. |
116
|
|
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. |
120
|
|
Parameter attrib should be final. |
120
|
|
Expected @param tag for 'attrib'. |
120
|
|
Parameter platform should be final. |
120
|
|
Expected @param tag for 'platform'. |
120
|
|
Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. |
137
|
|
Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. |
145
|
|
Parameter description should be final. |
145
|
|
'description' hides a field. |
145
|
|
Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
153
|
|
Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
161
|
|
Parameter name should be final. |
161
|
|
'name' hides a field. |
161
|
|
Method 'getScale' is not designed for extension - needs to be abstract, final or empty. |
169
|
|
Method 'setScale' is not designed for extension - needs to be abstract, final or empty. |
177
|
|
Parameter scale should be final. |
177
|
|
'scale' hides a field. |
177
|
|
Line has trailing spaces. |
181
|
|
Line has trailing spaces. |
184
|
|
Method 'replaceScale' is not designed for extension - needs to be abstract, final or empty. |
187
|
|
Parameter value should be final. |
187
|
|
Method 'getSize' is not designed for extension - needs to be abstract, final or empty. |
195
|
|
Method 'setSize' is not designed for extension - needs to be abstract, final or empty. |
203
|
|
Parameter size should be final. |
203
|
|
'size' hides a field. |
203
|
|
Line has trailing spaces. |
207
|
|
Line has trailing spaces. |
210
|
|
Method 'replaceSize' is not designed for extension - needs to be abstract, final or empty. |
213
|
|
Parameter value should be final. |
213
|
|
Method 'getType' is not designed for extension - needs to be abstract, final or empty. |
221
|
|
Method 'setType' is not designed for extension - needs to be abstract, final or empty. |
229
|
|
Parameter torqueType should be final. |
229
|
|
'torqueType' hides a field. |
229
|
|
Method 'setType' is not designed for extension - needs to be abstract, final or empty. |
237
|
|
Parameter torqueType should be final. |
237
|
|
'torqueType' hides a field. |
237
|
|
Line has trailing spaces. |
241
|
|
Line has trailing spaces. |
244
|
|
Method 'replaceType' is not designed for extension - needs to be abstract, final or empty. |
247
|
|
Parameter value should be final. |
247
|
|
Line has trailing spaces. |
252
|
|
Method 'getDefaultValue' is not designed for extension - needs to be abstract, final or empty. |
256
|
|
Expected an @return tag. |
265
|
|
Method 'getDefaultSetting' is not designed for extension - needs to be abstract, final or empty. |
265
|
|
Comment matches to-do format 'TODO:'. |
273
|
|
Line has trailing spaces. |
282
|
|
Line has trailing spaces. |
283
|
|
Method 'setDefaultValue' is not designed for extension - needs to be abstract, final or empty. |
287
|
|
Parameter defaultValue should be final. |
287
|
|
'defaultValue' hides a field. |
287
|
|
Line has trailing spaces. |
291
|
|
Line has trailing spaces. |
294
|
|
Method 'replaceDefaultValue' is not designed for extension - needs to be abstract, final or empty. |
297
|
|
Parameter value should be final. |
297
|
|
Line has trailing spaces. |
305
|
|
Method 'getSqlType' is not designed for extension - needs to be abstract, final or empty. |
305
|
|
Line has trailing spaces. |
313
|
|
Method 'setSqlType' is not designed for extension - needs to be abstract, final or empty. |
313
|
|
Parameter sqlType should be final. |
313
|
|
'sqlType' hides a field. |
313
|
|
Line has trailing spaces. |
320
|
|
Line has trailing spaces. |
321
|
|
Method 'printSize' is not designed for extension - needs to be abstract, final or empty. |
324
|
|
Line has trailing spaces. |
326
|
|
Line has trailing spaces. |
330
|
org/apache/torque/engine/database/model/ForeignKey.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
interfaces should describe a type and hence have methods. |
26
|
org/apache/torque/engine/database/model/IdMethodParameter.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Method 'generateName' is not designed for extension - needs to be abstract, final or empty. |
50
|
|
Parameter inputs should be final. |
50
|
|
Line has trailing spaces. |
85
|
|
Method 'underscoreMethod' is not designed for extension - needs to be abstract, final or empty. |
94
|
|
Parameter schemaName should be final. |
94
|
|
Line has trailing spaces. |
97
|
|
Line has trailing spaces. |
98
|
|
Line has trailing spaces. |
107
|
|
Line has trailing spaces. |
108
|
|
Line has trailing spaces. |
123
|
|
Line has trailing spaces. |
124
|
|
Method 'underscoreOmitSchemaMethod' is not designed for extension - needs to be abstract, final or empty. |
135
|
|
Parameter schemaName should be final. |
135
|
|
'{' should be on a new line. |
139
|
|
Method 'javanameMethod' is not designed for extension - needs to be abstract, final or empty. |
163
|
|
Parameter schemaName should be final. |
163
|
|
Line has trailing spaces. |
174
|
|
Line has trailing spaces. |
178
|
|
Parameter name should be final. |
196
|
org/apache/torque/engine/database/model/NameFactory.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
org/apache/torque/engine/database/model/SchemaType.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Class SchemaType should be declared as final. |
31
|
|
Line has trailing spaces. |
31
|
|
Missing a Javadoc comment. |
33
|
|
Missing a Javadoc comment. |
34
|
|
Missing a Javadoc comment. |
35
|
|
Missing a Javadoc comment. |
36
|
|
Missing a Javadoc comment. |
37
|
|
Missing a Javadoc comment. |
38
|
|
Missing a Javadoc comment. |
39
|
|
Missing a Javadoc comment. |
40
|
|
Missing a Javadoc comment. |
41
|
|
Missing a Javadoc comment. |
42
|
|
Missing a Javadoc comment. |
43
|
|
Missing a Javadoc comment. |
44
|
|
Missing a Javadoc comment. |
45
|
|
Missing a Javadoc comment. |
46
|
|
Missing a Javadoc comment. |
47
|
|
Missing a Javadoc comment. |
48
|
|
Missing a Javadoc comment. |
49
|
|
Line is longer than 80 characters. |
50
|
|
Missing a Javadoc comment. |
50
|
|
Missing a Javadoc comment. |
51
|
|
Missing a Javadoc comment. |
52
|
|
Missing a Javadoc comment. |
53
|
|
Missing a Javadoc comment. |
54
|
|
Missing a Javadoc comment. |
55
|
|
Missing a Javadoc comment. |
56
|
|
Missing a Javadoc comment. |
57
|
|
Missing a Javadoc comment. |
58
|
|
Missing a Javadoc comment. |
59
|
|
Missing a Javadoc comment. |
60
|
|
Missing a Javadoc comment. |
61
|
|
Missing a Javadoc comment. |
62
|
|
Line has trailing spaces. |
63
|
|
Line has trailing spaces. |
64
|
|
Missing a Javadoc comment. |
64
|
|
Parameter type should be final. |
64
|
|
Line has trailing spaces. |
68
|
|
Line has trailing spaces. |
69
|
|
Missing a Javadoc comment. |
69
|
|
Parameter type should be final. |
69
|
|
Line has trailing spaces. |
73
|
|
Line has trailing spaces. |
74
|
|
Missing a Javadoc comment. |
74
|
|
Line has trailing spaces. |
78
|
|
Line has trailing spaces. |
79
|
|
Missing a Javadoc comment. |
79
|
|
Line has trailing spaces. |
83
|
|
Line has trailing spaces. |
84
|
|
Missing a Javadoc comment. |
84
|
org/apache/torque/engine/database/model/Table.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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. |
148
|
|
'name' hides a field. |
213
|
|
Redundant 'final' modifier. |
265
|
|
Parameter nameType should be final. |
265
|
|
Parameter nbr should be final. |
265
|
|
Expected @throws tag for 'EngineException'. |
266
|
|
'4' is a magic number. |
268
|
|
Method 'getBaseClass' is not designed for extension - needs to be abstract, final or empty. |
282
|
|
Method 'setBaseClass' is not designed for extension - needs to be abstract, final or empty. |
302
|
|
Parameter v should be final. |
302
|
|
Method 'getBasePeer' is not designed for extension - needs to be abstract, final or empty. |
311
|
|
Method 'setBasePeer' is not designed for extension - needs to be abstract, final or empty. |
331
|
|
Parameter v should be final. |
331
|
|
Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. |
343
|
|
Parameter attrib should be final. |
343
|
|
Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. |
359
|
|
Parameter col should be final. |
359
|
|
Method 'addForeignKey' is not designed for extension - needs to be abstract, final or empty. |
380
|
|
Parameter attrib should be final. |
380
|
|
Expected an @return tag. |
392
|
|
Method 'getChildrenColumn' is not designed for extension - needs to be abstract, final or empty. |
392
|
|
Expected an @return tag. |
400
|
|
Method 'getChildrenNames' is not designed for extension - needs to be abstract, final or empty. |
400
|
|
Method 'addReferrer' is not designed for extension - needs to be abstract, final or empty. |
421
|
|
Parameter fk should be final. |
421
|
|
'5' is a magic number. |
425
|
|
Method 'getReferrers' is not designed for extension - needs to be abstract, final or empty. |
435
|
|
Method 'setContainsForeignPK' is not designed for extension - needs to be abstract, final or empty. |
445
|
|
Parameter b should be final. |
445
|
|
Expected @param tag for 'b'. |
445
|
|
Expected an @return tag. |
453
|
|
Method 'getContainsForeignPK' is not designed for extension - needs to be abstract, final or empty. |
453
|
|
Method 'getForeignTableNames' is not designed for extension - needs to be abstract, final or empty. |
463
|
|
Method 'addForeignKey' is not designed for extension - needs to be abstract, final or empty. |
478
|
|
Parameter fk should be final. |
478
|
|
'5' is a magic number. |
485
|
|
Expected an @return tag. |
496
|
|
Method 'requiresTransactionInPostgres' is not designed for extension - needs to be abstract, final or empty. |
496
|
|
Expected an @return tag. |
505
|
|
Method 'addIdMethodParameter' is not designed for extension - needs to be abstract, final or empty. |
505
|
|
Parameter attrib should be final. |
505
|
|
Expected @param tag for 'attrib'. |
505
|
|
Method 'addIdMethodParameter' is not designed for extension - needs to be abstract, final or empty. |
520
|
|
Parameter imp should be final. |
520
|
|
Method 'addIndex' is not designed for extension - needs to be abstract, final or empty. |
534
|
|
Parameter index should be final. |
534
|
|
Expected @param tag for 'index'. |
534
|
|
Expected an @return tag. |
544
|
|
Method 'addIndex' is not designed for extension - needs to be abstract, final or empty. |
544
|
|
Parameter attrib should be final. |
544
|
|
Expected @param tag for 'attrib'. |
544
|
|
Method 'addUnique' is not designed for extension - needs to be abstract, final or empty. |
556
|
|
Parameter unique should be final. |
556
|
|
Expected @param tag for 'unique'. |
556
|
|
Expected an @return tag. |
568
|
|
Method 'addUnique' is not designed for extension - needs to be abstract, final or empty. |
568
|
|
Parameter attrib should be final. |
568
|
|
Expected an @return tag. |
579
|
|
Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
579
|
|
Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
587
|
|
Parameter newName should be final. |
587
|
|
Expected @param tag for 'newName'. |
587
|
|
Expected an @return tag. |
595
|
|
Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. |
595
|
|
Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. |
605
|
|
Parameter newDescription should be final. |
605
|
|
Expected an @return tag. |
613
|
|
Method 'getJavaName' is not designed for extension - needs to be abstract, final or empty. |
613
|
|
Method 'setJavaName' is not designed for extension - needs to be abstract, final or empty. |
636
|
|
Parameter javaName should be final. |
636
|
|
'javaName' hides a field. |
636
|
|
Expected @param tag for 'javaName'. |
636
|
|
Expected an @return tag. |
644
|
|
Method 'getIdMethod' is not designed for extension - needs to be abstract, final or empty. |
644
|
|
Method 'setIdMethod' is not designed for extension - needs to be abstract, final or empty. |
659
|
|
Parameter idMethod should be final. |
659
|
|
'idMethod' hides a field. |
659
|
|
Expected @param tag for 'idMethod'. |
659
|
|
Method 'isSkipSql' is not designed for extension - needs to be abstract, final or empty. |
669
|
|
Method 'setSkipSql' is not designed for extension - needs to be abstract, final or empty. |
678
|
|
Parameter v should be final. |
678
|
|
Method 'getAlias' is not designed for extension - needs to be abstract, final or empty. |
687
|
|
Method 'isAlias' is not designed for extension - needs to be abstract, final or empty. |
697
|
|
Method 'setAlias' is not designed for extension - needs to be abstract, final or empty. |
707
|
|
Parameter v should be final. |
707
|
|
Method 'getInterface' is not designed for extension - needs to be abstract, final or empty. |
717
|
|
Method 'setInterface' is not designed for extension - needs to be abstract, final or empty. |
726
|
|
Parameter v should be final. |
726
|
|
Method 'isAbstract' is not designed for extension - needs to be abstract, final or empty. |
739
|
|
Method 'setAbstract' is not designed for extension - needs to be abstract, final or empty. |
753
|
|
Parameter v should be final. |
753
|
|
Method 'getPackage' is not designed for extension - needs to be abstract, final or empty. |
763
|
|
Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. |
780
|
|
Parameter v should be final. |
780
|
|
Line has trailing spaces. |
787
|
|
Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. |
790
|
|
Expected an @return tag. |
798
|
|
Method 'getNumColumns' is not designed for extension - needs to be abstract, final or empty. |
798
|
|
Line has trailing spaces. |
805
|
|
Method 'getForeignKeys' is not designed for extension - needs to be abstract, final or empty. |
808
|
|
Expected an @return tag. |
817
|
|
Method 'getIdMethodParameters' is not designed for extension - needs to be abstract, final or empty. |
817
|
|
Method 'getSequenceName' is not designed for extension - needs to be abstract, final or empty. |
827
|
|
Method 'getIndices' is not designed for extension - needs to be abstract, final or empty. |
850
|
|
Method 'getUnices' is not designed for extension - needs to be abstract, final or empty. |
860
|
|
Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. |
871
|
|
Parameter name should be final. |
871
|
|
'name' hides a field. |
871
|
|
Method 'getColumnByJavaName' is not designed for extension - needs to be abstract, final or empty. |
882
|
|
Parameter javaName should be final. |
882
|
|
'javaName' hides a field. |
882
|
|
Method 'getForeignKey' is not designed for extension - needs to be abstract, final or empty. |
895
|
|
Parameter col should be final. |
895
|
|
Must have at least one statement. |
908
|
|
Method 'containsColumn' is not designed for extension - needs to be abstract, final or empty. |
925
|
|
Parameter col should be final. |
925
|
|
Method 'containsColumn' is not designed for extension - needs to be abstract, final or empty. |
936
|
|
Parameter name should be final. |
936
|
|
'name' hides a field. |
936
|
|
Method 'setDatabase' is not designed for extension - needs to be abstract, final or empty. |
946
|
|
Parameter parent should be final. |
946
|
|
Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. |
956
|
|
Method 'isForReferenceOnly' is not designed for extension - needs to be abstract, final or empty. |
966
|
|
Method 'setForReferenceOnly' is not designed for extension - needs to be abstract, final or empty. |
976
|
|
Parameter v should be final. |
976
|
|
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
986
|
|
Method 'getPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
1074
|
|
Method 'hasPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
1095
|
|
Method 'printPrimaryKey' is not designed for extension - needs to be abstract, final or empty. |
1105
|
|
Parameter list should be final. |
1116
|
|
Unused @param tag for 'correctGetters'. |
1142
|
|
Method 'setCorrectGetters' is not designed for extension - needs to be abstract, final or empty. |
1145
|
|
Parameter value should be final. |
1145
|
|
Expected @param tag for 'value'. |
1145
|
|
';' is followed by whitespace. |
1148
|
org/apache/torque/engine/database/model/TypeMap.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Utility classes should not have a public or default constructor. |
76
|
|
Line has trailing spaces. |
80
|
|
Missing a Javadoc comment. |
81
|
|
Line has trailing spaces. |
83
|
|
Line has trailing spaces. |
84
|
|
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. |
97
|
|
Missing a Javadoc comment. |
98
|
|
Missing a Javadoc comment. |
99
|
|
Missing a Javadoc comment. |
100
|
|
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. |
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. |
124
|
|
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. |
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. |
147
|
|
Missing a Javadoc comment. |
148
|
|
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. |
159
|
|
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. |
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
|
|
Line is longer than 80 characters. |
179
|
|
Missing a Javadoc comment. |
179
|
|
Line is longer than 80 characters. |
180
|
|
Missing a Javadoc comment. |
180
|
|
Missing a Javadoc comment. |
182
|
|
Missing a Javadoc comment. |
183
|
|
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
|
|
Missing a Javadoc comment. |
192
|
|
Missing a Javadoc comment. |
193
|
|
Missing a Javadoc comment. |
194
|
|
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. |
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
|
|
Method length is 183 lines (max allowed is 150). |
218
|
|
'static' modifier out of order with the JLS suggestions. |
218
|
|
Line is longer than 80 characters. |
227
|
|
Line is longer than 80 characters. |
240
|
|
Line is longer than 80 characters. |
241
|
|
Line is longer than 80 characters. |
245
|
|
Line is longer than 80 characters. |
246
|
|
Line is longer than 80 characters. |
247
|
|
Line is longer than 80 characters. |
254
|
|
Line is longer than 80 characters. |
267
|
|
Line is longer than 80 characters. |
268
|
|
Line is longer than 80 characters. |
272
|
|
Line is longer than 80 characters. |
273
|
|
Line is longer than 80 characters. |
274
|
|
Line is longer than 80 characters. |
277
|
|
Line is longer than 80 characters. |
278
|
|
Line is longer than 80 characters. |
279
|
|
Line is longer than 80 characters. |
280
|
|
Line is longer than 80 characters. |
281
|
|
Line is longer than 80 characters. |
282
|
|
Line is longer than 80 characters. |
283
|
|
Line is longer than 80 characters. |
284
|
|
Line is longer than 80 characters. |
294
|
|
Line is longer than 80 characters. |
295
|
|
Line is longer than 80 characters. |
297
|
|
Line is longer than 80 characters. |
298
|
|
Line is longer than 80 characters. |
300
|
|
Line is longer than 80 characters. |
301
|
|
Line is longer than 80 characters. |
302
|
|
Line is longer than 80 characters. |
303
|
|
Line is longer than 80 characters. |
306
|
|
Line is longer than 80 characters. |
307
|
|
Line is longer than 80 characters. |
308
|
|
Line is longer than 80 characters. |
309
|
|
Line is longer than 80 characters. |
313
|
|
Line is longer than 80 characters. |
314
|
|
Line is longer than 80 characters. |
315
|
|
Line is longer than 80 characters. |
319
|
|
Line is longer than 80 characters. |
328
|
|
Line is longer than 80 characters. |
329
|
|
Line is longer than 80 characters. |
342
|
|
Line is longer than 80 characters. |
355
|
|
Line is longer than 80 characters. |
359
|
|
Line has trailing spaces. |
366
|
|
Line is longer than 80 characters. |
371
|
|
Line is longer than 80 characters. |
372
|
|
Line is longer than 80 characters. |
378
|
|
Line is longer than 80 characters. |
379
|
|
Line is longer than 80 characters. |
381
|
|
Line is longer than 80 characters. |
382
|
|
Line is longer than 80 characters. |
384
|
|
Line is longer than 80 characters. |
385
|
|
Line is longer than 80 characters. |
386
|
|
Line is longer than 80 characters. |
387
|
|
Line is longer than 80 characters. |
390
|
|
Line is longer than 80 characters. |
391
|
|
Line is longer than 80 characters. |
392
|
|
Line is longer than 80 characters. |
393
|
|
Line is longer than 80 characters. |
397
|
|
Parameter jdbcType should be final. |
420
|
|
Parameter jdbcType should be final. |
437
|
|
Parameter jdbcType should be final. |
454
|
|
Parameter jdbcType should be final. |
476
|
|
Parameter jdbcType should be final. |
493
|
|
Parameter jdbcType should be final. |
515
|
|
Parameter type should be final. |
533
|
|
Parameter sqlType should be final. |
550
|
|
'+' should be on a new line. |
561
|
|
Parameter type should be final. |
574
|
|
Parameter type should be final. |
586
|
|
Parameter type should be final. |
598
|
|
Parameter type should be final. |
609
|
org/apache/torque/engine/database/model/Unique.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Missing a Javadoc comment. |
45
|
|
Name 'sqlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
45
|
|
Missing a Javadoc comment. |
46
|
|
Name 'tokens' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
46
|
|
Missing a Javadoc comment. |
47
|
|
Name 'token' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
47
|
|
Missing a Javadoc comment. |
48
|
|
Name 'appDataDB' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
48
|
|
Missing a Javadoc comment. |
49
|
|
Name 'count' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
|
Missing a Javadoc comment. |
50
|
|
Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
|
Parameter sqlFile should be final. |
57
|
|
'sqlFile' hides a field. |
57
|
|
Parameter sqlFile should be final. |
70
|
|
'sqlFile' hides a field. |
70
|
|
Parameter databaseType should be final. |
70
|
|
'databaseType' hides a field. |
70
|
|
Expected @param tag for 'databaseType'. |
70
|
|
Method 'getSqlFile' is not designed for extension - needs to be abstract, final or empty. |
81
|
|
Method 'setSqlFile' is not designed for extension - needs to be abstract, final or empty. |
91
|
|
Parameter sqlFile should be final. |
91
|
|
'sqlFile' hides a field. |
91
|
|
Parameter name should be final. |
121
|
|
Expected @throws tag for 'ParseException'. |
121
|
|
Expected @throws tag for 'ParseException'. |
142
|
|
Name 'create_Table' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
156
|
|
Name 'create_Table_Column' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
191
|
|
Parameter tbl should be final. |
191
|
|
Expected @param tag for 'tbl'. |
191
|
|
Name 'create_Table_Column_Primary' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
224
|
|
Parameter tbl should be final. |
224
|
|
Expected @param tag for 'tbl'. |
224
|
|
Name 'create_Table_Column_Unique' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
271
|
|
Parameter tbl should be final. |
271
|
|
Expected @param tag for 'tbl'. |
271
|
|
Name 'create_Table_Column_Foreign' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
306
|
|
Parameter tbl should be final. |
306
|
|
Expected @param tag for 'tbl'. |
306
|
|
Name 'create_Table_Column_Data' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
377
|
|
Parameter tbl should be final. |
377
|
|
Expected @param tag for 'tbl'. |
377
|
|
Expected an @return tag. |
527
|
|
Method 'execute' is not designed for extension - needs to be abstract, final or empty. |
527
|
org/apache/torque/engine/database/transform/XmlToAppData.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Missing a Javadoc comment. |
61
|
|
Name 'database' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
61
|
|
Missing a Javadoc comment. |
62
|
|
Name 'currTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
|
Missing a Javadoc comment. |
63
|
|
Name 'currColumn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
63
|
|
Missing a Javadoc comment. |
64
|
|
Name 'currFK' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
64
|
|
Missing a Javadoc comment. |
65
|
|
Name 'currIndex' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
65
|
|
Missing a Javadoc comment. |
66
|
|
Name 'currUnique' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
66
|
|
Missing a Javadoc comment. |
68
|
|
Name 'firstPass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
68
|
|
Missing a Javadoc comment. |
69
|
|
Name 'isExternalSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
69
|
|
Missing a Javadoc comment. |
70
|
|
Name 'currentPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
70
|
|
Missing a Javadoc comment. |
71
|
|
Name 'currentXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
71
|
|
Missing a Javadoc comment. |
72
|
|
Name 'defaultPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
72
|
|
Missing a Javadoc comment. |
74
|
|
Name 'alreadyReadFiles' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
77
|
|
Name 'parsingStack' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
80
|
|
Parameter databaseType should be final. |
93
|
|
Parameter databaseType should be final. |
105
|
|
Parameter defaultPackage should be final. |
105
|
|
'defaultPackage' hides a field. |
105
|
|
Method 'parseFile' is not designed for extension - needs to be abstract, final or empty. |
119
|
|
Parameter xmlFile should be final. |
119
|
|
Expected @throws tag for 'EngineException'. |
120
|
|
'3' is a magic number. |
137
|
|
Line has trailing spaces. |
139
|
|
Line has trailing spaces. |
142
|
|
Line has trailing spaces. |
144
|
|
Line has trailing spaces. |
146
|
|
Line has trailing spaces. |
160
|
|
Line has trailing spaces. |
181
|
|
Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. |
190
|
|
Parameter publicId should be final. |
190
|
|
Parameter systemId should be final. |
190
|
|
Expected @throws tag for 'SAXException'. |
191
|
|
Method 'startElement' is not designed for extension - needs to be abstract, final or empty. |
213
|
|
Parameter uri should be final. |
213
|
|
Expected @param tag for 'uri'. |
213
|
|
Parameter localName should be final. |
213
|
|
Parameter rawName should be final. |
213
|
|
Parameter attributes should be final. |
214
|
|
Expected @throws tag for 'SAXException'. |
215
|
|
Method 'endElement' is not designed for extension - needs to be abstract, final or empty. |
323
|
|
Parameter uri should be final. |
323
|
|
Expected @param tag for 'uri'. |
323
|
|
Parameter localName should be final. |
323
|
|
Parameter rawName should be final. |
323
|
|
Line has trailing spaces. |
331
|
|
Method 'error' is not designed for extension - needs to be abstract, final or empty. |
337
|
|
Parameter e should be final. |
337
|
|
Line has trailing spaces. |
341
|
|
Line has trailing spaces. |
342
|
|
Utility classes should not have a public or default constructor. |
355
|
|
Missing a Javadoc comment. |
357
|
|
Name 'isExternalSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
357
|
|
Missing a Javadoc comment. |
358
|
|
Name 'currentPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
358
|
|
Missing a Javadoc comment. |
359
|
|
Name 'currentXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
359
|
|
Missing a Javadoc comment. |
360
|
|
Name 'firstPass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
360
|
|
Parameter parser should be final. |
366
|
|
Expected @param tag for 'parser'. |
366
|
|
Parameter parser should be final. |
383
|
|
Expected @param tag for 'parser'. |
383
|
|
Parameter parser should be final. |
403
|
|
Expected @param tag for 'parser'. |
403
|
org/apache/torque/engine/database/transform/XmlToData.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Missing a Javadoc comment. |
57
|
|
Name 'database' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
57
|
|
Missing a Javadoc comment. |
58
|
|
Name 'data' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
58
|
|
Missing a Javadoc comment. |
59
|
|
Name 'dtdFileName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
|
Missing a Javadoc comment. |
60
|
|
Name 'dtdFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
|
Missing a Javadoc comment. |
61
|
|
Name 'dataDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
61
|
|
Missing a Javadoc comment. |
63
|
|
Parameter database should be final. |
74
|
|
'database' hides a field. |
74
|
|
Expected @param tag for 'database'. |
74
|
|
Parameter dtdFilePath should be final. |
74
|
|
Expected @param tag for 'dtdFilePath'. |
74
|
|
Expected @throws tag for 'MalformedURLException'. |
75
|
|
Redundant throws: 'MalformedURLException' is subclass of 'IOException'. |
75
|
|
Expected @throws tag for 'IOException'. |
75
|
|
Expected an @return tag. |
86
|
|
Method 'parseFile' is not designed for extension - needs to be abstract, final or empty. |
86
|
|
Parameter xmlFile should be final. |
86
|
|
Expected @param tag for 'xmlFile'. |
86
|
|
Expected @throws tag for 'Exception'. |
87
|
|
Method 'startElement' is not designed for extension - needs to be abstract, final or empty. |
110
|
|
Parameter uri should be final. |
110
|
|
Expected @param tag for 'uri'. |
110
|
|
Parameter localName should be final. |
110
|
|
Expected @param tag for 'localName'. |
110
|
|
Parameter rawName should be final. |
110
|
|
Expected @param tag for 'rawName'. |
110
|
|
Parameter attributes should be final. |
111
|
|
Expected @param tag for 'attributes'. |
111
|
|
Expected @throws tag for 'SAXException'. |
112
|
|
Must have at least one statement. |
117
|
|
Line has trailing spaces. |
136
|
|
Line has trailing spaces. |
137
|
|
Line has trailing spaces. |
140
|
|
Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. |
158
|
|
Parameter publicId should be final. |
158
|
|
Expected @param tag for 'publicId'. |
158
|
|
Parameter systemId should be final. |
158
|
|
Expected @param tag for 'systemId'. |
158
|
|
Expected @throws tag for 'SAXException'. |
159
|
|
Line has trailing spaces. |
161
|
|
Line contains a tab character. |
161
|
|
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 has trailing spaces. |
173
|
|
Line contains a tab character. |
173
|
|
Line has trailing spaces. |
174
|
|
Line contains a tab character. |
174
|
|
Line contains a tab character. |
175
|
|
Line contains a tab character. |
176
|
|
Line contains a tab character. |
177
|
|
Method 'getInputSource' is not designed for extension - needs to be abstract, final or empty. |
186
|
|
Parameter urlString should be final. |
186
|
|
Expected @param tag for 'urlString'. |
186
|
|
Expected @throws tag for 'IOException'. |
187
|
|
Missing a Javadoc comment. |
199
|
|
Name 'table' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
199
|
|
Missing a Javadoc comment. |
200
|
|
Name 'columnValues' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
200
|
|
Missing a Javadoc comment. |
202
|
|
Parameter table should be final. |
202
|
|
'table' hides a field. |
202
|
|
Parameter columnValues should be final. |
202
|
|
'columnValues' hides a field. |
202
|
|
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. |
208
|
|
Missing a Javadoc comment. |
208
|
|
Method 'getColumnValues' is not designed for extension - needs to be abstract, final or empty. |
213
|
|
Missing a Javadoc comment. |
213
|
|
Missing a Javadoc comment. |
224
|
|
Name 'col' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
224
|
|
Missing a Javadoc comment. |
225
|
|
Name 'val' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
225
|
|
Missing a Javadoc comment. |
227
|
|
Parameter col should be final. |
227
|
|
'col' hides a field. |
227
|
|
Parameter val should be final. |
227
|
|
'val' hides a field. |
227
|
|
Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. |
233
|
|
Missing a Javadoc comment. |
233
|
|
Method 'getValue' is not designed for extension - needs to be abstract, final or empty. |
238
|
|
Missing a Javadoc comment. |
238
|
|
Method 'getEscapedValue' is not designed for extension - needs to be abstract, final or empty. |
243
|
|
Missing a Javadoc comment. |
243
|
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/platform/Platform.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Redundant 'static' modifier. |
31
|
|
Redundant 'static' modifier. |
33
|
|
Line has trailing spaces. |
34
|
|
Line has trailing spaces. |
56
|
|
Expected @param tag for 'notNull'. |
61
|
|
Line has trailing spaces. |
67
|
|
Line has trailing spaces. |
70
|
|
Line has trailing spaces. |
75
|
|
Line has trailing spaces. |
78
|
org/apache/torque/engine/platform/PlatformAxionImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
org/apache/torque/engine/platform/PlatformCloudscapeImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
47
|
|
Line is longer than 80 characters. |
48
|
|
Line is longer than 80 characters. |
51
|
|
Line has trailing spaces. |
52
|
|
Line is longer than 80 characters. |
52
|
|
Method 'getAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
58
|
|
Line has trailing spaces. |
62
|
org/apache/torque/engine/platform/PlatformDb2400Impl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
47
|
|
Line is longer than 80 characters. |
51
|
|
Line is longer than 80 characters. |
52
|
|
Line is longer than 80 characters. |
53
|
|
Line has trailing spaces. |
55
|
|
Method 'getMaxColumnNameLength' is not designed for extension - needs to be abstract, final or empty. |
59
|
|
'30' is a magic number. |
61
|
org/apache/torque/engine/platform/PlatformDb2Impl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
46
|
|
Line is longer than 80 characters. |
47
|
|
Line is longer than 80 characters. |
48
|
|
Line is longer than 80 characters. |
49
|
|
Method 'getMaxColumnNameLength' is not designed for extension - needs to be abstract, final or empty. |
55
|
|
'18' is a magic number. |
58
|
|
Method 'getAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
64
|
|
Line has trailing spaces. |
68
|
org/apache/torque/engine/platform/PlatformDefaultImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Missing a Javadoc comment. |
35
|
|
Name 'schemaDomainMap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
35
|
|
Line has trailing spaces. |
36
|
|
Line has trailing spaces. |
40
|
|
Line has trailing spaces. |
44
|
|
Missing a Javadoc comment. |
45
|
|
'30' is a magic number. |
47
|
|
Line has trailing spaces. |
49
|
|
Line has trailing spaces. |
54
|
|
Line has trailing spaces. |
56
|
|
Line has trailing spaces. |
60
|
|
Method 'setSchemaDomainMapping' is not designed for extension - needs to be abstract, final or empty. |
60
|
|
Missing a Javadoc comment. |
60
|
|
Parameter domain should be final. |
60
|
|
Line has trailing spaces. |
64
|
|
Method 'getMaxColumnNameLength' is not designed for extension - needs to be abstract, final or empty. |
68
|
|
'64' is a magic number. |
70
|
|
Method 'getNativeIdMethod' is not designed for extension - needs to be abstract, final or empty. |
76
|
|
Line has trailing spaces. |
84
|
|
Method 'getDomainForSchemaType' is not designed for extension - needs to be abstract, final or empty. |
84
|
|
Parameter jdbcType should be final. |
84
|
|
Method 'getNullString' is not designed for extension - needs to be abstract, final or empty. |
94
|
|
Parameter notNull should be final. |
94
|
|
Expected @param tag for 'notNull'. |
94
|
|
Comment matches to-do format 'TODO:'. |
96
|
|
Avoid inline conditionals. |
98
|
|
Method 'getAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
104
|
|
Method 'hasScale' is not designed for extension - needs to be abstract, final or empty. |
113
|
|
Parameter sqlType should be final. |
113
|
|
Method 'hasSize' is not designed for extension - needs to be abstract, final or empty. |
122
|
|
Parameter sqlType should be final. |
122
|
org/apache/torque/engine/platform/PlatformFactory.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Utility classes should not have a public or default constructor. |
32
|
|
Missing a Javadoc comment. |
34
|
|
Missing a Javadoc comment. |
35
|
|
Expected an @return tag. |
42
|
|
Parameter dbms should be final. |
42
|
|
Line has trailing spaces. |
59
|
|
Line has trailing spaces. |
73
|
|
Expected an @return tag. |
76
|
|
Parameter platform should be final. |
76
|
|
Line is longer than 80 characters. |
83
|
|
Line has trailing spaces. |
88
|
org/apache/torque/engine/platform/PlatformHypersonicImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
org/apache/torque/engine/platform/PlatformInterbaseImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
46
|
org/apache/torque/engine/platform/PlatformMsaccessImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
org/apache/torque/engine/platform/PlatformMssqlImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line has trailing spaces. |
53
|
|
Line is longer than 80 characters. |
53
|
|
Line has trailing spaces. |
55
|
|
Method 'getMaxColumnNameLength' is not designed for extension - needs to be abstract, final or empty. |
59
|
|
'30' is a magic number. |
61
|
|
Line has trailing spaces. |
63
|
|
Line has trailing spaces. |
69
|
|
Method 'getNullString' is not designed for extension - needs to be abstract, final or empty. |
69
|
|
Parameter notNull should be final. |
69
|
|
Expected @param tag for 'notNull'. |
69
|
|
Avoid inline conditionals. |
71
|
org/apache/torque/engine/platform/PlatformMysqlImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
46
|
|
Line is longer than 80 characters. |
50
|
|
Method 'getAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
58
|
|
Method 'hasSize' is not designed for extension - needs to be abstract, final or empty. |
66
|
|
Parameter sqlType should be final. |
66
|
|
'{' should be on a new line. |
66
|
|
Line has trailing spaces. |
67
|
org/apache/torque/engine/platform/PlatformOracleImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
44
|
|
Line is longer than 80 characters. |
45
|
|
Line is longer than 80 characters. |
46
|
|
Line is longer than 80 characters. |
47
|
|
Line is longer than 80 characters. |
48
|
|
Line is longer than 80 characters. |
54
|
|
Line is longer than 80 characters. |
59
|
|
Line has trailing spaces. |
61
|
|
Method 'getMaxColumnNameLength' is not designed for extension - needs to be abstract, final or empty. |
65
|
|
'30' is a magic number. |
67
|
|
Method 'getNativeIdMethod' is not designed for extension - needs to be abstract, final or empty. |
73
|
|
Method 'getAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
81
|
org/apache/torque/engine/platform/PlatformPostgresqlImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
53
|
|
Line has trailing spaces. |
61
|
|
Method 'getNativeIdMethod' is not designed for extension - needs to be abstract, final or empty. |
65
|
|
Method 'getAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
73
|
|
Line has trailing spaces. |
77
|
org/apache/torque/engine/platform/PlatformSapdbImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line is longer than 80 characters. |
46
|
|
Line is longer than 80 characters. |
47
|
|
Line is longer than 80 characters. |
49
|
|
Line is longer than 80 characters. |
52
|
|
Method 'getNativeIdMethod' is not designed for extension - needs to be abstract, final or empty. |
63
|
|
Method 'getAutoIncrement' is not designed for extension - needs to be abstract, final or empty. |
71
|
|
Line has trailing spaces. |
75
|
org/apache/torque/engine/platform/PlatformSybaseImpl.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Line has trailing spaces. |
54
|
|
Method 'getMaxColumnNameLength' is not designed for extension - needs to be abstract, final or empty. |
58
|
|
'30' is a magic number. |
60
|
org/apache/torque/engine/sql/ParseException.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Parameter err should be final. |
33
|
org/apache/torque/engine/sql/SQLScanner.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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]*$'. |
47
|
|
Name 'databaseDriver' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
|
Name 'databaseUser' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
53
|
|
Name 'databasePassword' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
56
|
|
Name 'conn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
|
Name 'stmt' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
|
Method 'getDatabaseName' is not designed for extension - needs to be abstract, final or empty. |
69
|
|
Method 'setDatabaseName' is not designed for extension - needs to be abstract, final or empty. |
79
|
|
Parameter v should be final. |
79
|
|
Method 'getDatabaseUrl' is not designed for extension - needs to be abstract, final or empty. |
89
|
|
Method 'setDatabaseUrl' is not designed for extension - needs to be abstract, final or empty. |
99
|
|
Parameter v should be final. |
99
|
|
Method 'getDatabaseDriver' is not designed for extension - needs to be abstract, final or empty. |
109
|
|
Method 'setDatabaseDriver' is not designed for extension - needs to be abstract, final or empty. |
119
|
|
Parameter v should be final. |
119
|
|
Method 'getDatabaseUser' is not designed for extension - needs to be abstract, final or empty. |
129
|
|
Method 'setDatabaseUser' is not designed for extension - needs to be abstract, final or empty. |
139
|
|
Parameter v should be final. |
139
|
|
Method 'getDatabasePassword' is not designed for extension - needs to be abstract, final or empty. |
149
|
|
Method 'setDatabasePassword' is not designed for extension - needs to be abstract, final or empty. |
159
|
|
Parameter v should be final. |
159
|
|
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
170
|
|
Method 'cleanup' is not designed for extension - needs to be abstract, final or empty. |
216
|
|
Name 'rs' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
240
|
|
Unused @param tag for 'qds'. |
252
|
|
Parameter rs should be final. |
255
|
|
'rs' hides a field. |
255
|
|
Expected @param tag for 'rs'. |
255
|
|
Method 'fetch' is not designed for extension - needs to be abstract, final or empty. |
267
|
|
Parameter tableName should be final. |
267
|
|
Method 'hasNext' is not designed for extension - needs to be abstract, final or empty. |
279
|
|
Method 'next' is not designed for extension - needs to be abstract, final or empty. |
304
|
|
Redundant throws: 'NoSuchElementException' is unchecked exception. |
304
|
|
Method 'get' is not designed for extension - needs to be abstract, final or empty. |
326
|
|
Parameter columnName should be final. |
326
|
|
Method 'remove' is not designed for extension - needs to be abstract, final or empty. |
345
|
|
Redundant throws: 'UnsupportedOperationException' is unchecked exception. |
345
|
org/apache/torque/task/TorqueDataModelTask.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Name 'xmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
56
|
|
Variable 'xmlFile' must be private and have accessor methods. |
56
|
|
Name 'filesets' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
59
|
|
Variable 'filesets' must be private and have accessor methods. |
59
|
|
Name 'dataModels' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
62
|
|
Variable 'dataModels' must be private and have accessor methods. |
62
|
|
Name 'context' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
65
|
|
Variable 'context' must be private and have accessor methods. |
65
|
|
Line has trailing spaces. |
69
|
|
Name 'dataModelDbMap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
72
|
|
Variable 'dataModelDbMap' must be private and have accessor methods. |
72
|
|
Name 'databaseNames' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
78
|
|
Variable 'databaseNames' must be private and have accessor methods. |
78
|
|
Name 'sqldbmap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
89
|
|
Variable 'sqldbmap' must be private and have accessor methods. |
89
|
|
Name 'targetDatabase' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
92
|
|
Name 'targetPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
95
|
|
Method 'setSqlDbMap' is not designed for extension - needs to be abstract, final or empty. |
103
|
|
Parameter sqldbmap should be final. |
103
|
|
'sqldbmap' hides a field. |
103
|
|
Method 'getSqlDbMap' is not designed for extension - needs to be abstract, final or empty. |
114
|
|
Method 'getDataModels' is not designed for extension - needs to be abstract, final or empty. |
124
|
|
Method 'getDataModelDbMap' is not designed for extension - needs to be abstract, final or empty. |
134
|
|
Method 'getXmlFile' is not designed for extension - needs to be abstract, final or empty. |
144
|
|
Method 'setXmlFile' is not designed for extension - needs to be abstract, final or empty. |
154
|
|
Parameter xmlFile should be final. |
154
|
|
'xmlFile' hides a field. |
154
|
|
Method 'addFileset' is not designed for extension - needs to be abstract, final or empty. |
164
|
|
Parameter set should be final. |
164
|
|
Method 'getTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
174
|
|
Method 'setTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
184
|
|
Parameter v should be final. |
184
|
|
Method 'getTargetPackage' is not designed for extension - needs to be abstract, final or empty. |
194
|
|
Method 'setTargetPackage' is not designed for extension - needs to be abstract, final or empty. |
205
|
|
Parameter v should be final. |
205
|
|
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
216
|
|
Expected @throws tag for 'Exception'. |
216
|
|
Redundant throws: 'Exception' is unchecked exception. |
216
|
|
Line has trailing spaces. |
246
|
|
Line has trailing spaces. |
248
|
|
Line has trailing spaces. |
261
|
|
Line has trailing spaces. |
265
|
|
Parameter xmlFile should be final. |
298
|
|
'xmlFile' hides a field. |
298
|
|
Method 'setContextProperties' is not designed for extension - needs to be abstract, final or empty. |
337
|
|
Parameter file should be final. |
337
|
org/apache/torque/task/TorqueDataSQLTask.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Name 'dataXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
|
Name 'dataDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
54
|
|
Name 'targetDatabase' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
60
|
|
Method 'setDataXmlFile' is not designed for extension - needs to be abstract, final or empty. |
67
|
|
Parameter dataXmlFile should be final. |
67
|
|
'dataXmlFile' hides a field. |
67
|
|
Method 'getDataXmlFile' is not designed for extension - needs to be abstract, final or empty. |
77
|
|
Method 'getTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
87
|
|
Method 'setTargetDatabase' is not designed for extension - needs to be abstract, final or empty. |
98
|
|
Parameter v should be final. |
98
|
|
Method 'getDataDTD' is not designed for extension - needs to be abstract, final or empty. |
108
|
|
Method 'setDataDTD' is not designed for extension - needs to be abstract, final or empty. |
118
|
|
Parameter dataDTD should be final. |
118
|
|
'dataDTD' hides a field. |
118
|
|
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. |
129
|
|
Redundant throws: 'Exception' is unchecked exception. |
129
|
|
Line has trailing spaces. |
142
|
|
Line has trailing spaces. |
144
|
|
Line has trailing spaces. |
153
|
|
Line has trailing spaces. |
162
|
|
Line has trailing spaces. |
189
|
|
Line is longer than 80 characters. |
191
|
org/apache/torque/task/TorqueDocumentationTask.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
Unused import - org.w3c.dom.Node. |
49
|
|
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 156 lines (max allowed is 150). |
183
|
|
'3' is a magic number. |
269
|
|
'4' is a magic number. |
270
|
|
Line is longer than 80 characters. |
278
|
|
Method 'getTableNames' is not designed for extension - needs to be abstract, final or empty. |
349
|
|
Parameter dbMeta should be final. |
349
|
|
Expected @throws tag for 'SQLException'. |
350
|
|
'3' is a magic number. |
362
|
|
'4' is a magic number. |
363
|
|
Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. |
392
|
|
Parameter dbMeta should be final. |
392
|
|
Parameter tableName should be final. |
392
|
|
Expected @throws tag for 'SQLException'. |
393
|
|
'4' is a magic number. |
402
|
|
'5' is a magic number. |
403
|
|
'7' is a magic number. |
404
|
|
'11' is a magic number. |
405
|
|
'13' is a magic number. |
406
|
|
'5' is a magic number. |
408
|
|
Method 'getPrimaryKeys' is not designed for extension - needs to be abstract, final or empty. |
436
|
|
Parameter dbMeta should be final. |
436
|
|
Parameter tableName should be final. |
436
|
|
Expected @throws tag for 'SQLException'. |
437
|
|
'4' is a magic number. |
446
|
|
Method 'getForeignKeys' is not designed for extension - needs to be abstract, final or empty. |
467
|
|
Parameter dbMeta should be final. |
467
|
|
Parameter tableName should be final. |
467
|
|
Expected @throws tag for 'SQLException'. |
468
|
|
'3' is a magic number. |
477
|
|
'12' is a magic number. |
478
|
|
'8' is a magic number. |
499
|
|
'4' is a magic number. |
500
|
org/apache/torque/task/TorqueSQLExec.java
Error |
Line |
|
Line does not match expected header line of ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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 ' *'. |
5
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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. |
186
|
|
Expected @throws tag for 'Exception'. |
186
|
|
Redundant throws: 'Exception' is unchecked exception. |
186
|
org/apache/torque/task/TorqueSQLTransformTask.java
Error |
Line |
|
Line does not match expected header line of ' * Copyright 2001-2004 The Apache Software Foundation.'. |
4
|
|
Line has trailing spaces. |
5
|
|
Line has trailing spaces. |
9
|
|
Line has trailing spaces. |
11
|
|
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
|