PMD Results

The following document contains the results of PMD 3.7.

Files

org/apache/geronimo/system/jmx/KernelMBeanServer.java

ViolationLine
Avoid empty catch blocks142 - 144
Avoid empty catch blocks148 - 150
Avoid empty catch blocks229 - 231
Avoid empty catch blocks248 - 250
Avoid empty catch blocks282 - 284
Avoid empty catch blocks288 - 290

org/apache/geronimo/system/jmx/MBeanServerKernelBridge.java

ViolationLine
Avoid empty catch blocks90 - 92
Avoid empty catch blocks108 - 110
Avoid empty catch blocks110 - 112
Avoid empty catch blocks126 - 129

org/apache/geronimo/system/sharedlib/SharedLib.java

ViolationLine
These nested if statements could be combined51 - 53
These nested if statements could be combined70 - 72

org/apache/geronimo/system/main/LocalServer.java

ViolationLine
Overriding method merely calls super48 - 50

org/apache/geronimo/system/main/Daemon.java

ViolationLine
Avoid unused private methods such as 'JVMCheck()'185
Avoid empty catch blocks248 - 250
Avoid unused private methods such as 'AddToSystemProperty(String,List,File)'337

org/apache/geronimo/system/main/SilentStartupMonitor.java

ViolationLine
Avoid empty catch blocks55 - 56

org/apache/geronimo/system/main/StartupMonitorUtil.java

ViolationLine
Avoid empty catch blocks122 - 124
These nested if statements could be combined255 - 257

org/apache/geronimo/system/main/CommandLine.java

ViolationLine
Avoid empty catch blocks98 - 100
Avoid empty catch blocks138 - 140

org/apache/geronimo/system/logging/log4j/URLConfigurator.java

ViolationLine
These nested if statements could be combined64 - 66

org/apache/geronimo/system/logging/log4j/Log4jService.java

ViolationLine
Avoid unused imports such as 'org.apache.geronimo.system.serverinfo.ServerConstants'55
These nested if statements could be combined320 - 322
Avoid empty catch blocks419
Avoid empty catch blocks671 - 672

org/apache/geronimo/system/configuration/ExecutableConfigurationUtil.java

ViolationLine
Avoid empty catch blocks199 - 200
Avoid empty catch blocks208 - 209
Avoid empty catch blocks217 - 218
Avoid empty catch blocks226 - 227
Avoid empty catch blocks235 - 236

org/apache/geronimo/system/configuration/SieveEncodingInfo.java

ViolationLine
These nested if statements could be combined69 - 70

org/apache/geronimo/system/configuration/LocalAttributeManager.java

ViolationLine
These nested if statements could be combined464 - 466
These nested if statements could be combined471 - 473
Avoid empty catch blocks520 - 522
These nested if statements could be combined650 - 652

org/apache/geronimo/system/configuration/OutputFormat.java

ViolationLine
Avoid empty catch blocks883
Avoid empty catch blocks907

org/apache/geronimo/system/configuration/RepositoryConfigurationStore.java

ViolationLine
Avoid empty catch blocks193 - 194
Avoid empty catch blocks331 - 333
Avoid empty catch blocks344 - 346

org/apache/geronimo/system/configuration/ServerOverride.java

ViolationLine
Avoid unused imports such as 'java.io.PrintWriter'19

org/apache/geronimo/system/configuration/BaseMarkupSerializer.java

ViolationLine
These nested if statements could be combined875 - 877
Avoid empty catch blocks959 - 961
Avoid empty catch blocks968 - 970

org/apache/geronimo/system/configuration/ConfigurationStoreUtil.java

ViolationLine
Avoid empty catch blocks64 - 65
Avoid empty catch blocks116 - 117
Avoid empty catch blocks158 - 159

org/apache/geronimo/system/configuration/InPlaceConfigurationUtil.java

ViolationLine
Avoid empty catch blocks65 - 67
Avoid empty catch blocks89 - 90

org/apache/geronimo/system/repository/AbstractRepository.java

ViolationLine
Avoid empty catch blocks159 - 161
Avoid empty catch blocks210 - 212

org/apache/geronimo/system/repository/CopyArtifactTypeHandler.java

ViolationLine
Avoid empty catch blocks75 - 76
Avoid empty catch blocks81 - 82

org/apache/geronimo/system/rmi/RMIClassLoaderSpiImpl.java

ViolationLine
Avoid unused local variables such as 'url'145
Avoid empty catch blocks149 - 151
Avoid empty catch blocks194

org/apache/geronimo/system/plugin/PluginInstallerGBean.java

ViolationLine
Avoid empty if statements281
These nested if statements could be combined313 - 315
Avoid empty catch blocks333 - 335
These nested if statements could be combined616 - 629
These nested if statements could be combined797 - 800
Avoid empty catch blocks852
Avoid empty catch blocks857
These nested if statements could be combined935 - 937
Avoid unused method parameters such as 'repo'1261 - 1285

org/apache/geronimo/system/plugin/SnapshotVersion.java

ViolationLine
These nested if statements could be combined67 - 76

org/apache/geronimo/system/plugin/PluginRepositoryDownloader.java

ViolationLine
Avoid empty catch blocks119