About Us Home Contributors License Components Sandbox Configuration Home Overview Simple Howto ConfigurationFactory Howto XML Howto Composite Config Howto Runtime Dependencies Roadmap Javadoc Extensions Avalon Component Project Documentation About Commons Configuration Downloads Project Info Project Reports Metrics Checkstyle Changes Change Log File Activity Developer Activity JavaDocs JavaDoc Report Source Xref Test Xref Unit Tests Task List PMD Report Simian Report JCoverage Tasks FindBugs Report Development Process General Information Charter Volunteering Contributing Patches Releasing Components Jakarta Community Get Involved Mailing Lists Access CVS Repositories Commons Resources (Unofficial) Wiki Japanese Translation Korean Translation Related Apache Commons DB Commons XML Commons | ### Checkstyle Results The following document contains the results of Checkstyle . ### Summary
Files | Infos | Warnings | Errors
--- | --- | --- | ---
60 | 0 | 0 | 255
### Files
Files | I | W | E
--- | --- | --- | ---
org/apache/commons/configuration/AbstractConfiguration.java | 0 | 0 | 8
org/apache/commons/configuration/AbstractFileConfiguration.java | 0 | 0 | 30
org/apache/commons/configuration/CompositeConfiguration.java | 0 | 0 | 3
org/apache/commons/configuration/Configuration.java | 0 | 0 | 29
org/apache/commons/configuration/ConfigurationConverter.java | 0 | 0 | 2
org/apache/commons/configuration/ConfigurationMap.java | 0 | 0 | 26
org/apache/commons/configuration/ConfigurationUtils.java | 0 | 0 | 7
org/apache/commons/configuration/FileConfiguration.java | 0 | 0 | 26
org/apache/commons/configuration/HierarchicalConfiguration.java | 0 | 0 | 2
org/apache/commons/configuration/HierarchicalXMLConfiguration.java | 0 | 0 | 27
org/apache/commons/configuration/JNDIConfiguration.java | 0 | 0 | 6
org/apache/commons/configuration/PropertiesConfiguration.java | 0 | 0 | 56
org/apache/commons/configuration/SubsetConfiguration.java | 0 | 0 | 5
org/apache/commons/configuration/XMLConfiguration.java | 0 | 0 | 14
org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java | 0 | 0 | 7
org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java | 0 | 0 | 6
org/apache/commons/configuration/beanutils/package.html | 0 | 0 | 1
#### org/apache/commons/configuration/AbstractConfiguration.java
Error | Line
--- | ---
| Name 'DELIMITER' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 53
| Variable 'throwExceptionOnMissing' explicitly initialized to 'false' (default value for its type). | 62
| Line has trailing spaces. | 77
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 1061
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 1069
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 1069
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 1072
| ';' is followed by whitespace. | 1083
#### org/apache/commons/configuration/AbstractFileConfiguration.java
Error | Line
--- | ---
| Missing a Javadoc comment. | 45
| Missing a Javadoc comment. | 46
| Missing a Javadoc comment. | 47
| Expected @throws tag for 'ConfigurationException'. | 55
| Expected @throws tag for 'ConfigurationException'. | 74
| Expected @throws tag for 'ConfigurationException'. | 98
| Expected @throws tag for 'ConfigurationException'. | 117
| Expected @throws tag for 'ConfigurationException'. | 155
| Expected @throws tag for 'ConfigurationException'. | 169
| Line is longer than 120 characters. | 181
| Expected @throws tag for 'ConfigurationException'. | 198
| Expected @param tag for 'fileName'. | 211
| Expected @throws tag for 'ConfigurationException'. | 211
| Expected @param tag for 'url'. | 237
| Expected @throws tag for 'ConfigurationException'. | 237
| Expected @param tag for 'file'. | 253
| Expected @throws tag for 'ConfigurationException'. | 253
| Expected @param tag for 'out'. | 290
| Expected @throws tag for 'ConfigurationException'. | 290
| Expected @param tag for 'out'. | 303
| Expected @param tag for 'encoding'. | 303
| Expected @throws tag for 'ConfigurationException'. | 303
| Line is longer than 120 characters. | 315
| Expected an @return tag. | 330
| Expected an @return tag. | 351
| Expected an @return tag. | 371
| Expected @param tag for 'file'. | 388
| Expected an @return tag. | 410
| Expected @param tag for 'url'. | 420
| '5' is a magic number. | 428
#### org/apache/commons/configuration/CompositeConfiguration.java
Error | Line
--- | ---
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 313
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 313
| Expected an @return tag. | 341
#### org/apache/commons/configuration/Configuration.java
Error | Line
--- | ---
| Type Javadoc comment is missing an @author tag. | 31
| Expected an @return tag. | 63
| Unable to get class information for @throws tag 'NoSuchElementException'. | 164
| Unused @throws tag for 'NoSuchElementException'. | 164
| Expected @throws tag for 'NoClassDefFoundError'. | 195
| Redundant throws: 'NoClassDefFoundError' is unchecked exception. | 195
| Unable to get class information for @throws tag 'NoSuchElementException'. | 203
| Unused @throws tag for 'NoSuchElementException'. | 203
| Unable to get class information for @throws tag 'NoSuchElementException'. | 242
| Unused @throws tag for 'NoSuchElementException'. | 242
| Unable to get class information for @throws tag 'NoSuchElementException'. | 280
| Unused @throws tag for 'NoSuchElementException'. | 280
| Unable to get class information for @throws tag 'NoSuchElementException'. | 319
| Unused @throws tag for 'NoSuchElementException'. | 319
| Unable to get class information for @throws tag 'NoSuchElementException'. | 358
| Unused @throws tag for 'NoSuchElementException'. | 358
| Unable to get class information for @throws tag 'NoSuchElementException'. | 397
| Unused @throws tag for 'NoSuchElementException'. | 397
| Unable to get class information for @throws tag 'NoSuchElementException'. | 428
| Unused @throws tag for 'NoSuchElementException'. | 428
| Unable to get class information for @throws tag 'NoSuchElementException'. | 439
| Unused @throws tag for 'NoSuchElementException'. | 439
| Unable to get class information for @throws tag 'NoSuchElementException'. | 462
| Unused @throws tag for 'NoSuchElementException'. | 462
| Unable to get class information for @throws tag 'NoSuchElementException'. | 487
| Unused @throws tag for 'NoSuchElementException'. | 487
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 555
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 571
| Declaring variables, return values or parameters of type 'Vector' is not allowed. | 571
#### org/apache/commons/configuration/ConfigurationConverter.java
Error | Line
--- | ---
| Missing a Javadoc comment. | 37
| '{' should be on a new line. | 155
#### org/apache/commons/configuration/ConfigurationMap.java
Error | Line
--- | ---
| Line has trailing spaces. | 32
| Variable 'configuration' explicitly initialized to 'null' (default value for its type). | 44
| Variable 'configuration' must be private and have accessor methods. | 44
| Missing a Javadoc comment. | 85
| Missing a Javadoc comment. | 88
| Variable 'configuration' explicitly initialized to 'null' (default value for its type). | 88
| Class Entry should be declared as final. | 90
| Missing a Javadoc comment. | 90
| Missing a Javadoc comment. | 93
| Variable 'key' explicitly initialized to 'null' (default value for its type). | 93
| Line has trailing spaces. | 94
| Missing a Javadoc comment. | 95
| Line has trailing spaces. | 99
| Missing a Javadoc comment. | 100
| Line has trailing spaces. | 104
| Missing a Javadoc comment. | 105
| Missing a Javadoc comment. | 110
| Class ConfigurationSetIterator should be declared as final. | 119
| Missing a Javadoc comment. | 119
| Missing a Javadoc comment. | 122
| Missing a Javadoc comment. | 124
| Missing a Javadoc comment. | 129
| Missing a Javadoc comment. | 134
| Missing a Javadoc comment. | 139
| Missing a Javadoc comment. | 146
| ';' is followed by whitespace. | 158
#### org/apache/commons/configuration/ConfigurationUtils.java
Error | Line
--- | ---
| Missing a Javadoc comment. | 42
| Missing a Javadoc comment. | 44
| Must have at least one statement. | 234
| Expected an @return tag. | 335
| Expected @param tag for 'url'. | 335
| Expected an @return tag. | 352
| Expected @param tag for 'url'. | 352
#### org/apache/commons/configuration/FileConfiguration.java
Error | Line
--- | ---
| Expected @throws tag for 'ConfigurationException'. | 41
| Expected @throws tag for 'ConfigurationException'. | 50
| Expected @throws tag for 'ConfigurationException'. | 59
| Expected @throws tag for 'ConfigurationException'. | 68
| Expected @throws tag for 'ConfigurationException'. | 78
| Expected @throws tag for 'ConfigurationException'. | 89
| Expected @throws tag for 'ConfigurationException'. | 98
| Expected @throws tag for 'ConfigurationException'. | 105
| Expected @param tag for 'fileName'. | 114
| Expected @throws tag for 'ConfigurationException'. | 114
| Expected @param tag for 'file'. | 123
| Expected @throws tag for 'ConfigurationException'. | 123
| Expected @param tag for 'url'. | 132
| Expected @throws tag for 'ConfigurationException'. | 132
| Expected @param tag for 'out'. | 141
| Expected @throws tag for 'ConfigurationException'. | 141
| Expected @param tag for 'out'. | 151
| Expected @param tag for 'encoding'. | 151
| Expected @throws tag for 'ConfigurationException'. | 151
| Expected @throws tag for 'ConfigurationException'. | 160
| Expected an @return tag. | 165
| Expected an @return tag. | 177
| Expected an @return tag. | 189
| Expected @param tag for 'file'. | 196
| Expected an @return tag. | 201
| Expected @param tag for 'url'. | 208
#### org/apache/commons/configuration/HierarchicalConfiguration.java
Error | Line
--- | ---
| Line has trailing spaces. | 586
| Line has trailing spaces. | 587
#### org/apache/commons/configuration/HierarchicalXMLConfiguration.java
Error | Line
--- | ---
| Missing a Javadoc comment. | 52
| Missing a Javadoc comment. | 124
| Missing a Javadoc comment. | 129
| Missing a Javadoc comment. | 134
| Missing a Javadoc comment. | 139
| Missing a Javadoc comment. | 144
| Missing a Javadoc comment. | 149
| Missing a Javadoc comment. | 154
| Missing a Javadoc comment. | 167
| Missing a Javadoc comment. | 172
| Missing a Javadoc comment. | 177
| Missing a Javadoc comment. | 182
| Missing a Javadoc comment. | 187
| Missing a Javadoc comment. | 192
| Missing a Javadoc comment. | 197
| Missing a Javadoc comment. | 202
| Missing a Javadoc comment. | 207
| Missing a Javadoc comment. | 212
| Missing a Javadoc comment. | 217
| Missing a Javadoc comment. | 222
| Missing a Javadoc comment. | 227
| Missing a Javadoc comment. | 232
| Missing a Javadoc comment. | 237
| Missing a Javadoc comment. | 242
| '{' should be on a new line. | 242
| Missing a Javadoc comment. | 244
| Missing a Javadoc comment. | 249
#### org/apache/commons/configuration/JNDIConfiguration.java
Error | Line
--- | ---
| Expected @param tag for 'prefix'. | 83
| Expected @param tag for 'prefix'. | 106
| Expected an @return tag. | 428
| Expected @throws tag for 'NamingException'. | 428
| Expected an @return tag. | 442
| Expected @param tag for 'context'. | 450
#### org/apache/commons/configuration/PropertiesConfiguration.java
Error | Line
--- | ---
| Variable 'include' must be private and have accessor methods. | 139
| Expected @throws tag for 'ConfigurationException'. | 274
| Expected @throws tag for 'ConfigurationException'. | 330
| Expected @throws tag for 'IOException'. | 402
| Expected @throws tag for 'IOException'. | 448
| Expected @param tag for 'key'. | 460
| Expected @param tag for 'value'. | 460
| Expected @throws tag for 'IOException'. | 460
| Expected @throws tag for 'IOException'. | 480
| Expected @param tag for 'comment'. | 494
| Expected @throws tag for 'IOException'. | 494
| Expected an @return tag. | 510
| '4' is a magic number. | 518
| '4' is a magic number. | 529
| '16' is a magic number. | 535
| '==' is not preceded with whitespace. | 554
| '==' is not followed by whitespace. | 554
| '{' is not preceded with whitespace. | 554
| '{' should be on a new line. | 554
| '==' is not preceded with whitespace. | 557
| '==' is not followed by whitespace. | 557
| '{' is not preceded with whitespace. | 557
| '{' should be on a new line. | 557
| '==' is not preceded with whitespace. | 560
| '==' is not followed by whitespace. | 560
| '{' is not preceded with whitespace. | 560
| '{' should be on a new line. | 560
| '==' is not preceded with whitespace. | 563
| '==' is not followed by whitespace. | 563
| '{' is not preceded with whitespace. | 563
| '{' should be on a new line. | 563
| '==' is not preceded with whitespace. | 566
| '==' is not followed by whitespace. | 566
| '{' is not preceded with whitespace. | 566
| '{' should be on a new line. | 566
| '==' is not preceded with whitespace. | 569
| '==' is not followed by whitespace. | 569
| '{' is not preceded with whitespace. | 569
| '{' should be on a new line. | 569
| '==' is not preceded with whitespace. | 572
| '==' is not followed by whitespace. | 572
| '{' is not preceded with whitespace. | 572
| '{' should be on a new line. | 572
| '==' is not preceded with whitespace. | 575
| '==' is not followed by whitespace. | 575
| '{' is not preceded with whitespace. | 575
| '{' should be on a new line. | 575
| '==' is not preceded with whitespace. | 578
| '==' is not followed by whitespace. | 578
| '{' is not preceded with whitespace. | 578
| '{' should be on a new line. | 578
| '==' is not preceded with whitespace. | 582
| '==' is not followed by whitespace. | 582
| '{' is not preceded with whitespace. | 582
| '{' should be on a new line. | 582
| '{' should be on a new line. | 586
#### org/apache/commons/configuration/SubsetConfiguration.java
Error | Line
--- | ---
| Expected an @return tag. | 77
| Expected an @return tag. | 95
| Expected an @return tag. | 121
| Expected an @return tag. | 129
| Expected @param tag for 'prefix'. | 137
#### org/apache/commons/configuration/XMLConfiguration.java
Error | Line
--- | ---
| Missing a Javadoc comment. | 71
| Missing a Javadoc comment. | 73
| Variable 'autoSave' explicitly initialized to 'false' (default value for its type). | 89
| Expected @param tag for 'hierarchy'. | 173
| Expected @param tag for 'name'. | 229
| Expected @param tag for 'value'. | 229
| Missing a Javadoc comment. | 236
| Expected an @return tag. | 292
| Expected @param tag for 'nodes'. | 292
| Missing a Javadoc comment. | 328
| Missing a Javadoc comment. | 358
| Missing a Javadoc comment. | 433
| Expected @param tag for 'autoSave'. | 521
| Missing a Javadoc comment. | 546
#### org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
Error | Line
--- | ---
| Missing a Javadoc comment. | 51
| 'static' modifier out of order with the JLS suggestions. | 51
| Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 51
| Missing a Javadoc comment. | 53
| Variable 'configuration' must be private and have accessor methods. | 53
| Missing a Javadoc comment. | 55
| Line has trailing spaces. | 61
#### org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java
Error | Line
--- | ---
| Missing a Javadoc comment. | 41
| 'static' modifier out of order with the JLS suggestions. | 41
| Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 41
| Missing a Javadoc comment. | 43
| Variable 'configuration' must be private and have accessor methods. | 43
| 'if' construct must use '{}'s. | 53
#### org/apache/commons/configuration/beanutils/package.html
Error | Line
--- | ---
| Missing package documentation file. | 0