Apache Commons logo Commons Configuration

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
245 0 0 100

Files

Files Infos Warnings Errors
org/apache/commons/configuration2/AbstractConfiguration.java 0 0 2
org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java 0 0 3
org/apache/commons/configuration2/CombinedConfiguration.java 0 0 1
org/apache/commons/configuration2/ConfigurationConverter.java 0 0 1
org/apache/commons/configuration2/DataConfiguration.java 0 0 1
org/apache/commons/configuration2/DatabaseConfiguration.java 0 0 4
org/apache/commons/configuration2/DynamicCombinedConfiguration.java 0 0 2
org/apache/commons/configuration2/ImmutableConfiguration.java 0 0 2
org/apache/commons/configuration2/MapConfiguration.java 0 0 2
org/apache/commons/configuration2/PropertiesConfiguration.java 0 0 3
org/apache/commons/configuration2/SystemConfiguration.java 0 0 3
org/apache/commons/configuration2/XMLDocumentHelper.java 0 0 1
org/apache/commons/configuration2/beanutils/BeanHelper.java 0 0 1
org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java 0 0 1
org/apache/commons/configuration2/beanutils/XMLBeanDeclaration.java 0 0 4
org/apache/commons/configuration2/builder/BasicBuilderParameters.java 0 0 1
org/apache/commons/configuration2/builder/BasicBuilderProperties.java 0 0 1
org/apache/commons/configuration2/builder/BasicConfigurationBuilder.java 0 0 4
org/apache/commons/configuration2/builder/BuilderConfigurationWrapperFactory.java 0 0 3
org/apache/commons/configuration2/builder/DefaultParametersHandler.java 0 0 2
org/apache/commons/configuration2/builder/DefaultParametersManager.java 0 0 3
org/apache/commons/configuration2/builder/ReloadingBuilderSupportListener.java 0 0 1
org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java 0 0 1
org/apache/commons/configuration2/builder/combined/CombinedConfigurationBuilder.java 0 0 6
org/apache/commons/configuration2/builder/combined/MultiFileBuilderParametersImpl.java 0 0 1
org/apache/commons/configuration2/builder/combined/MultiFileConfigurationBuilder.java 0 0 1
org/apache/commons/configuration2/convert/ConversionHandler.java 0 0 1
org/apache/commons/configuration2/convert/DefaultConversionHandler.java 0 0 1
org/apache/commons/configuration2/event/BaseEventSource.java 0 0 1
org/apache/commons/configuration2/event/ConfigurationErrorEvent.java 0 0 3
org/apache/commons/configuration2/event/ConfigurationEvent.java 0 0 9
org/apache/commons/configuration2/event/EventListenerList.java 0 0 2
org/apache/commons/configuration2/event/EventListenerRegistrationData.java 0 0 1
org/apache/commons/configuration2/event/EventSource.java 0 0 1
org/apache/commons/configuration2/interpol/ExprLookup.java 0 0 1
org/apache/commons/configuration2/io/FileHandler.java 0 0 10
org/apache/commons/configuration2/plist/PropertyListConfiguration.java 0 0 1
org/apache/commons/configuration2/reloading/ReloadingEvent.java 0 0 1
org/apache/commons/configuration2/sync/Synchronizer.java 0 0 1
org/apache/commons/configuration2/tree/ImmutableNode.java 0 0 2
org/apache/commons/configuration2/tree/InMemoryNodeModel.java 0 0 3
org/apache/commons/configuration2/tree/ModelTransaction.java 0 0 1
org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java 0 0 3
org/apache/commons/configuration2/tree/xpath/XPathExpressionEngine.java 0 0 2
org/apache/commons/configuration2/web/ServletRequestConfiguration.java 0 0 1

Details

org/apache/commons/configuration2/AbstractConfiguration.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.convert.DefaultListDelimiterHandler. 35
Errors Unused import - org.apache.commons.configuration2.ex.ConfigurationRuntimeException. 42

org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.sync.LockMode. 34
Errors Unused import - org.apache.commons.configuration2.sync.Synchronizer. 36
Errors '{' should be on a new line. 532

org/apache/commons/configuration2/CombinedConfiguration.java

Violation Message Line
Errors 'if' is not followed by whitespace. 828

org/apache/commons/configuration2/ConfigurationConverter.java

Violation Message Line
Errors 'if' is not followed by whitespace. 74

org/apache/commons/configuration2/DataConfiguration.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.ex.ConversionException. 34

org/apache/commons/configuration2/DatabaseConfiguration.java

Violation Message Line
Errors '}' is not followed by whitespace. 401
Errors '}' is not followed by whitespace. 516
Errors '}' is not followed by whitespace. 539
Errors '}' is not followed by whitespace. 571

org/apache/commons/configuration2/DynamicCombinedConfiguration.java

Violation Message Line
Errors Name 'currentConfig' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 72
Errors 'if' is not followed by whitespace. 863

org/apache/commons/configuration2/ImmutableConfiguration.java

Violation Message Line
Errors Unused import - java.util.NoSuchElementException. 24
Errors Unused import - org.apache.commons.configuration2.ex.ConversionException. 27

org/apache/commons/configuration2/MapConfiguration.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.convert.DefaultListDelimiterHandler. 27
Errors Unused import - org.apache.commons.configuration2.convert.ListDelimiterHandler. 28

org/apache/commons/configuration2/PropertiesConfiguration.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.convert.DefaultListDelimiterHandler. 32
Errors '{' is followed by whitespace. 897
Errors Must have at least one statement. 1086

org/apache/commons/configuration2/SystemConfiguration.java

Violation Message Line
Errors Unused @throws tag for 'Exception'. 54
Errors Expected @throws tag for 'ConfigurationException'. 58
Errors '{' should be on a new line. 114

org/apache/commons/configuration2/XMLDocumentHelper.java

Violation Message Line
Errors Inner assignments should be avoided. 152

org/apache/commons/configuration2/beanutils/BeanHelper.java

Violation Message Line
Errors Class BeanCreationContextImpl should be declared as final. 643

org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java

Violation Message Line
Errors ':' should be on a new line. 201

org/apache/commons/configuration2/beanutils/XMLBeanDeclaration.java

Violation Message Line
Errors Expected @param tag for '<T>'. 174
Errors Expected @param tag for '<T>'. 191
Errors Expected @param tag for '<T>'. 220
Errors Expected @param tag for '<T>'. 256

org/apache/commons/configuration2/builder/BasicBuilderParameters.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.AbstractConfiguration. 24

org/apache/commons/configuration2/builder/BasicBuilderProperties.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.AbstractConfiguration. 22

org/apache/commons/configuration2/builder/BasicConfigurationBuilder.java

Violation Message Line
Errors The double-checked locking idiom is broken and should be avoided. 283
Errors Inner assignments should be avoided. 285
Errors 'final' modifier out of order with the JLS suggestions. 480
Errors 'final' modifier out of order with the JLS suggestions. 497

org/apache/commons/configuration2/builder/BuilderConfigurationWrapperFactory.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.ex.ConfigurationRuntimeException. 26
Errors Expected an @return tag. 94
Errors Expected an @return tag. 130

org/apache/commons/configuration2/builder/DefaultParametersHandler.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.builder.fluent.Parameters. 19
Errors Type Javadoc comment is missing an @param <T> tag. 38

org/apache/commons/configuration2/builder/DefaultParametersManager.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.builder.fluent.FileBasedBuilderParameters. 23
Errors Unused import - org.apache.commons.configuration2.builder.fluent.PropertiesBuilderParameters. 24
Errors Unused import - org.apache.commons.configuration2.builder.fluent.XMLBuilderParameters. 25

org/apache/commons/configuration2/builder/ReloadingBuilderSupportListener.java

Violation Message Line
Errors Class ReloadingBuilderSupportListener should be declared as final. 47

org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.reloading.FileHandlerReloadingDetector. 24

org/apache/commons/configuration2/builder/combined/CombinedConfigurationBuilder.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.builder.DefaultParametersManager. 45
Errors Unused import - org.apache.commons.configuration2.ex.ConfigurationRuntimeException. 53
Errors 'if' is not followed by whitespace. 1015
Errors '{' should be on a new line. 1302
Errors '{' should be on a new line. 1303
Errors '{' should be on a new line. 1585

org/apache/commons/configuration2/builder/combined/MultiFileBuilderParametersImpl.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.interpol.ConfigurationInterpolator. 24

org/apache/commons/configuration2/builder/combined/MultiFileConfigurationBuilder.java

Violation Message Line
Errors '{' should be on a new line. 117

org/apache/commons/configuration2/convert/ConversionHandler.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.ex.ConversionException. 21

org/apache/commons/configuration2/convert/DefaultConversionHandler.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.ex.ConversionException. 24

org/apache/commons/configuration2/event/BaseEventSource.java

Violation Message Line
Errors Expected @param tag for '<T>'. 269

org/apache/commons/configuration2/event/ConfigurationErrorEvent.java

Violation Message Line
Errors Variable access definition in wrong order. 66
Errors Variable access definition in wrong order. 76
Errors Variable access definition in wrong order. 86

org/apache/commons/configuration2/event/ConfigurationEvent.java

Violation Message Line
Errors Variable access definition in wrong order. 85
Errors Variable access definition in wrong order. 93
Errors Variable access definition in wrong order. 101
Errors Variable access definition in wrong order. 109
Errors Variable access definition in wrong order. 117
Errors Variable access definition in wrong order. 127
Errors Variable access definition in wrong order. 135
Errors Variable access definition in wrong order. 143
Errors Variable access definition in wrong order. 151

org/apache/commons/configuration2/event/EventListenerList.java

Violation Message Line
Errors Expected @param tag for '<T>'. 118
Errors Class EventListenerIterator should be declared as final. 307

org/apache/commons/configuration2/event/EventListenerRegistrationData.java

Violation Message Line
Errors '31' is a magic number. 94

org/apache/commons/configuration2/event/EventSource.java

Violation Message Line
Errors Expected @param tag for '<T>'. 61

org/apache/commons/configuration2/interpol/ExprLookup.java

Violation Message Line
Errors 'if' is not followed by whitespace. 222

org/apache/commons/configuration2/io/FileHandler.java

Violation Message Line
Errors '}' is not followed by whitespace. 314
Errors '}' is not followed by whitespace. 366
Errors '}' is not followed by whitespace. 403
Errors '}' is not followed by whitespace. 471
Errors '}' is not followed by whitespace. 532
Errors '}' is not followed by whitespace. 561
Errors '}' is not followed by whitespace. 592
Errors '}' is not followed by whitespace. 636
Errors 'if' is not followed by whitespace. 1206
Errors Must have at least one statement. 1469

org/apache/commons/configuration2/plist/PropertyListConfiguration.java

Violation Message Line
Errors '{' should be on a new line. 442

org/apache/commons/configuration2/reloading/ReloadingEvent.java

Violation Message Line
Errors Variable access definition in wrong order. 43

org/apache/commons/configuration2/sync/Synchronizer.java

Violation Message Line
Errors Unused import - org.apache.commons.configuration2.AbstractConfiguration. 19

org/apache/commons/configuration2/tree/ImmutableNode.java

Violation Message Line
Errors Class ImmutableNode should be declared as final. 45
Errors Expected an @return tag. 227

org/apache/commons/configuration2/tree/InMemoryNodeModel.java

Violation Message Line
Errors Expected @param tag for 'values'. 137
Errors '{' should be on a new line. 360
Errors Redundant 'static' modifier. 1386

org/apache/commons/configuration2/tree/ModelTransaction.java

Violation Message Line
Errors '{' should be on a new line. 334

org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java

Violation Message Line
Errors Type Javadoc comment is missing an @param <T> tag. 38
Errors 'for' is not followed by whitespace. 205
Errors 'if' is not followed by whitespace. 207

org/apache/commons/configuration2/tree/xpath/XPathExpressionEngine.java

Violation Message Line
Errors Expected @param tag for '<T>'. 202
Errors Expected @param tag for 'handler'. 203

org/apache/commons/configuration2/web/ServletRequestConfiguration.java

Violation Message Line
Errors '{' should be on a new line. 69