PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/commons/messagelet/BridgeMDO.java

Violation Line
Avoid unused local variables such as 'messenger'. 116

org/apache/commons/messagelet/DistributeBridgeMDO.java

Violation Line
Avoid unused private fields such as 'log'. 38

org/apache/commons/messagelet/impl/HttpServletRequestImpl.java

Violation Line
An empty statement (semicolon) not part of a loop 437

org/apache/commons/messagelet/impl/HttpServletResponseImpl.java

Violation Line
Overriding method merely calls super 325 - 333
An empty statement (semicolon) not part of a loop 723

org/apache/commons/messagelet/impl/HttpSessionImpl.java

Violation Line
Avoid unused private fields such as 'listeners'. 124
Avoid unused local variables such as 'value'. 807
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 1060
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 1061

org/apache/commons/messagelet/impl/MessageServletDispatcher.java

Violation Line
Avoid unused private fields such as 'messenger'. 41

org/apache/commons/messagelet/impl/RequestUtil.java

Violation Line
Avoid unused local variables such as 'age'. 76
An empty statement (semicolon) not part of a loop 257
Avoid unused local variables such as 'pos'. 445

org/apache/commons/messagelet/impl/ServletRequestImpl.java

Violation Line
An empty statement (semicolon) not part of a loop 245
An empty statement (semicolon) not part of a loop 254
Avoid empty if statements 286 - 288
Avoid unused local variables such as 'dummy'. 744

org/apache/commons/messagelet/Main.java

Violation Line
Avoid unused private fields such as 'subscriptionList'. 41
Avoid unused private fields such as 'useStopWatch'. 50

org/apache/commons/messagelet/ManagerServlet.java

Violation Line
Avoid unused private fields such as 'USE_HTTP_SERVLETS'. 36
Avoid empty catch blocks 191 - 193

org/apache/commons/messenger/DefaultMessenger.java

Violation Line
Avoid unused private fields such as 'SHARE_CONNECTION'. 48

org/apache/commons/messenger/ListenerKey.java

Violation Line
These nested if statements could be combined 63 - 68

org/apache/commons/messenger/MessengerManager.java

Violation Line
Avoid empty catch blocks 138 - 139

org/apache/commons/messenger/MessengerSupport.java

Violation Line
Avoid unused private fields such as 'CACHE_REQUESTOR'. 59
Avoid empty catch blocks 271 - 273
Avoid unused local variables such as 'browser'. 485

org/apache/commons/messenger/task/ConsumerTask.java

Violation Line
Avoid empty catch blocks 206 - 208

org/apache/commons/messenger/task/ProducerTask.java

Violation Line
Avoid empty catch blocks 236 - 238

org/apache/commons/messenger/tool/StopWatchMessageListener.java

Violation Line
Avoid empty catch blocks 73 - 75

org/apache/commons/messenger/XAMessenger.java

Violation Line
Avoid unused private fields such as 'log'. 33