PMD Results

The following document contains the results of PMD 3.9.

Files

org/apache/log4j/db/CustomSQLDBReceiver.java

ViolationLine
Avoid empty catch blocks197 - 199
Avoid empty catch blocks395 - 396

org/apache/log4j/db/DBHelper.java

ViolationLine
Avoid empty catch blocks53 - 56
Avoid empty catch blocks64 - 65

org/apache/log4j/db/DBReceiverJob.java

ViolationLine
Avoid empty catch blocks160 - 162

org/apache/log4j/db/dialect/Util.java

ViolationLine
Avoid empty catch blocks59 - 61

org/apache/log4j/net/JMSReceiver.java

ViolationLine
Avoid empty catch blocks243 - 245
Avoid empty catch blocks263 - 265

org/apache/log4j/net/JMSReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks47 - 48

org/apache/log4j/net/MulticastReceiver.java

ViolationLine
Avoid empty catch blocks246 - 248

org/apache/log4j/net/MulticastReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks45 - 46

org/apache/log4j/net/SocketHubReceiver.java

ViolationLine
Avoid empty catch blocks261 - 263

org/apache/log4j/net/SocketNode13.java

ViolationLine
Avoid empty if statements195 - 197
Avoid empty catch blocks220 - 222

org/apache/log4j/net/SocketReceiver.java

ViolationLine
Avoid empty catch blocks199 - 201
Avoid empty catch blocks213 - 215

org/apache/log4j/net/UDPAppender.java

ViolationLine
Avoid unused imports such as 'org.apache.log4j.xml.XMLLayout'23

org/apache/log4j/net/UDPReceiver.java

ViolationLine
Avoid empty catch blocks245 - 247

org/apache/log4j/net/XMLSocketNode.java

ViolationLine
Avoid empty catch blocks196 - 198

org/apache/log4j/net/XMLSocketReceiver.java

ViolationLine
Ensure you override both equals() and hashCode()115
Avoid empty catch blocks179 - 181
Avoid empty catch blocks193 - 195

org/apache/log4j/rewrite/MapRewritePolicy.java

ViolationLine
No need to import a type that lives in the same package23

org/apache/log4j/rewrite/PropertyRewritePolicy.java

ViolationLine
No need to import a type that lives in the same package20

org/apache/log4j/rewrite/ReflectionRewritePolicy.java

ViolationLine
No need to import a type that lives in the same package24

org/apache/log4j/varia/LogFilePatternReceiver.java

ViolationLine
These nested if statements could be combined451 - 453
These nested if statements could be combined493 - 495

org/apache/log4j/varia/LogFilePatternReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks45 - 46

org/apache/log4j/xml/LogFileXMLReceiver.java

ViolationLine
These nested if statements could be combined145 - 147