Apache logging services logo Apache log4j logo

PMD Results

The following document contains the results of PMD 5.3.2.

Files

org/apache/logging/log4j/Level.java

Violation Line
Useless parentheses. 189

org/apache/logging/log4j/Marker.java

Violation Line
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 67

org/apache/logging/log4j/ThreadContext.java

Violation Line
Useless parentheses. 90

org/apache/logging/log4j/message/BasicThreadInformation.java

Violation Line
Avoid unused private fields such as 'longName'. 30
Avoid unused private fields such as 'isAlive'. 33

org/apache/logging/log4j/message/FormattedMessage.java

Violation Line
Avoid empty catch blocks 118120
Avoid empty catch blocks 125127

org/apache/logging/log4j/message/LocalizedMessage.java

Violation Line
Useless parentheses. 183
Avoid unused local variables such as 'length'. 276

org/apache/logging/log4j/status/StatusLogger.java

Violation Line
Avoid empty catch blocks 162163

org/apache/logging/log4j/util/PropertiesUtil.java

Violation Line
Avoid empty catch blocks 131133
Avoid empty catch blocks 149151
Avoid empty catch blocks 177179

org/apache/logging/log4j/util/ReflectionUtil.java

Violation Line
Avoid empty catch blocks 217219
Avoid empty catch blocks 246248
Overriding method merely calls super 294296