PMD Results

The following document contains the results of PMD

Files

cal/Entries.java

ViolationLine
Avoid unused imports such as 'java.util.Enumeration'18

cal/JspCalendar.java

ViolationLine
Avoid unused imports such as 'java.text.DateFormat'19

colors/ColorGameBean.java

ViolationLine
These nested if statements could be combined37 - 40
These nested if statements could be combined44 - 47

compressionFilters/CompressionFilterTestServlet.java

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

compressionFilters/CompressionResponseStream.java

ViolationLine
Avoid unused imports such as 'java.io.OutputStream'20

compressionFilters/CompressionServletResponseWrapper.java

ViolationLine
Avoid unused imports such as 'java.io.OutputStream'20
Avoid unused imports such as 'java.util.Locale'23
Avoid unused imports such as 'javax.servlet.ServletRequest'24
Avoid unused imports such as 'javax.servlet.ServletResponse'25
Avoid unused imports such as 'javax.servlet.ServletException'26
Avoid duplicate imports such as 'javax.servlet.ServletResponse'28
Avoid unused imports such as 'javax.servlet.ServletResponseWrapper'29
Avoid empty catch blocks169 - 170
Avoid unused private methods such as 'getCharsetFromContentType(String)'257

dates/JspCalendar.java

ViolationLine
Avoid unused imports such as 'java.text.DateFormat'18

error/Smart.java

ViolationLine
Avoid importing anything from the package java.lang21

examples/FooTag.java

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'20
Avoid unused imports such as 'java.io.Writer'21

examples/ShowSource.java

ViolationLine
Avoid unused local variables such as 'reader'49

filters/ExampleFilter.java

ViolationLine
Avoid unused imports such as 'javax.servlet.ServletContext'25

filters/RequestDumperFilter.java

ViolationLine
Avoid unused imports such as 'javax.servlet.ServletContext'31

filters/SetCharacterEncodingFilter.java

ViolationLine
Avoid unused imports such as 'javax.servlet.UnavailableException'28

jsp2/examples/simpletag/EchoAttributesTag.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'25

jsp2/examples/simpletag/FindBookSimpleTag.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'22

jsp2/examples/simpletag/RepeatSimpleTag.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'22

jsp2/examples/simpletag/ShuffleSimpleTag.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'23

jsp2/examples/simpletag/TileSimpleTag.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'23

listeners/ContextListener.java

ViolationLine
Avoid unused private methods such as 'log(String,Throwable)'144

listeners/SessionListener.java

ViolationLine
Avoid unused private methods such as 'log(String,Throwable)'171

sessions/DummyCart.java

ViolationLine
Avoid unused imports such as 'java.util.Enumeration'20