PMD Results

The following document contains the results of PMD 7.0.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 19859
UnusedFormalParameter Avoid unused method parameters such as 'httpContext'. 822

Priority 4

org/eclipse/aether/transport/apache/ApacheTransporter.java
Rule Violation Line
UselessParentheses Useless parentheses. 802803
org/eclipse/aether/transport/apache/SharingHttpContext.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'AUTH_CACHE' is already in scope because it is inherited by an enclosing type 40
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 45
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 53
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 62

Files

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 19859
UselessParentheses Useless parentheses. 4 802803
UnusedFormalParameter Avoid unused method parameters such as 'httpContext'. 3 822

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

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'AUTH_CACHE' is already in scope because it is inherited by an enclosing type 4 40
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 4 45
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 4 53
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpClientContext': 'USER_TOKEN' is already in scope because it is inherited by an enclosing type 4 62