PMD Results

The following document contains the results of PMD 4.1.

Files

org/trialox/jaxrs/JaxRsHandler.java

Violation Line
No need to import a type that lives in the same package 57
Avoid empty if statements 389 - 391
These nested if statements could be combined 504 - 509
Avoid unused local variables such as 'discardReturnedEntity'. 566
These nested if statements could be combined 727 - 730
Avoid unused method parameters such as 'response'. 822 - 825
Avoid unused method parameters such as 'request'. 822 - 825
Avoid unused method parameters such as 'candidateMethods'. 822 - 825

org/trialox/jaxrs/MethodMatcher.java

Violation Line
These nested if statements could be combined 101 - 104

org/trialox/jaxrs/WebRequest.java

Violation Line
Avoid unused imports such as 'org.trialox.jaxrs.util.MultivaluedMapImpl' 16

org/trialox/jaxrs/parameterinjectors/ConversionUtil.java

Violation Line
Avoid empty catch blocks 79 - 81
Avoid empty catch blocks 86 - 88

org/trialox/jaxrs/providers/ProvidersImpl.java

Violation Line
These nested if statements could be combined 147 - 150

org/trialox/jaxrs/util/HttpDateFormat.java

Violation Line
Avoid unused imports such as 'java.util.Date' 6

org/trialox/jaxrs/util/MultivaluedMapImpl.java

Violation Line
Avoid empty catch blocks 110 - 111
Avoid empty catch blocks 132 - 133

org/trialox/jaxrs/util/SortableMethod.java

Violation Line
These nested if statements could be combined 79 - 82

org/trialox/jaxrs/util/TemplateEncoder.java

Violation Line
Avoid unused imports such as 'java.net.URLDecoder' 14
Avoid empty catch blocks 153 - 155
These nested if statements could be combined 244 - 259

org/trialox/jaxrs/util/URITemplate.java

Violation Line
These nested if statements could be combined 122 - 124

org/trialox/jaxrs/util/uri/UriComponent.java

Violation Line
These nested if statements could be combined 70 - 72

org/trialox/jaxrs/util/uri/UriInfoImpl.java

Violation Line
Avoid unused imports such as 'org.wymiwyg.wrhapi.util.EnhancedRequestURI' 13