PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

org/eclipse/aether/transport/apache/ApacheTransporter.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 19758
UnusedFormalParameter Avoid unused method parameters such as 'httpContext'. 721

Priority 4

org/eclipse/aether/transport/apache/ApacheTransporter.java

Rule Violation Line
UselessParentheses Useless parentheses around `serviceUnavailableHttpCodes.contains(response.g...`. 701702

org/eclipse/aether/transport/apache/SharingHttpContext.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 39
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 47
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 56

Files

org/eclipse/aether/transport/apache/ApacheTransporter.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 19758
UselessParentheses Useless parentheses around `serviceUnavailableHttpCodes.contains(response.g...`. 4 701702
UnusedFormalParameter Avoid unused method parameters such as 'httpContext'. 3 721

org/eclipse/aether/transport/apache/SharingHttpContext.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 4 39
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 4 47
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 4 56