PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/clerezza/triaxrs/InjectionUtilities.java

Violation Line
Avoid unused imports such as 'java.util.Arrays' 28
Avoid unused imports such as 'java.util.HashSet' 30

org/apache/clerezza/triaxrs/ProcessableResponse.java

Violation Line
Avoid unused private fields such as 'invokedMethod'. 43

org/apache/clerezza/triaxrs/ResponseProcessor.java

Violation Line
Avoid unused imports such as 'java.util.logging.Level' 43
These nested if statements could be combined 224 - 227
These nested if statements could be combined 233 - 235
Avoid unused method parameters such as 'responseStatus'. 393 - 398
Avoid unused private methods such as 'getJafMethodBodyWriter(Object,List)'. 429 - 430

org/apache/clerezza/triaxrs/RootResourceExecutorImpl.java

Violation Line
These nested if statements could be combined 294 - 299
Avoid empty if statements 385 - 387
Avoid unused method parameters such as 'request'. 560 - 583

org/apache/clerezza/triaxrs/RootResources.java

Violation Line
Avoid unused imports such as 'org.apache.clerezza.triaxrs.util.TemplateEncoder' 26
Avoid unused private fields such as 'logger'. 73

org/apache/clerezza/triaxrs/parameterinjectors/ConversionUtil.java

Violation Line
Avoid empty catch blocks 120 - 122
Avoid empty catch blocks 127 - 129

org/apache/clerezza/triaxrs/providers/CascadingProviders.java

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

org/apache/clerezza/triaxrs/providers/ProvidersImpl.java

Violation Line
These nested if statements could be combined 201 - 204

org/apache/clerezza/triaxrs/providers/SelectableProviders.java

Violation Line
Avoid unused imports such as 'java.util.logging.Level' 31
Avoid unused imports such as 'java.util.logging.Logger' 32

org/apache/clerezza/triaxrs/util/HttpDateFormat.java

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

org/apache/clerezza/triaxrs/util/MultivaluedMapImpl.java

Violation Line
Avoid empty catch blocks 150 - 151
Avoid empty catch blocks 172 - 173

org/apache/clerezza/triaxrs/util/TemplateEncoder.java

Violation Line
Avoid unused imports such as 'java.net.URLDecoder' 4

org/apache/clerezza/triaxrs/util/URITemplate.java

Violation Line
These nested if statements could be combined 152 - 154

org/apache/clerezza/triaxrs/util/uri/UriComponent.java

Violation Line
These nested if statements could be combined 139 - 141
These nested if statements could be combined 224 - 233
These nested if statements could be combined 225 - 232
Avoid empty if statements 456 - 458
Avoid empty if statements 606 - 608