The following document contains the results of PMD 4.1.
Violation | Line |
---|---|
Error while parsing /opt/development/protocol-tester/antlib/src/main/java/org/apache/james/mpt/ant/MailProtocolTestTask.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /opt/development/protocol-tester/antlib/src/main/java/org/apache/james/mpt/ant/MailProtocolTestTask.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Violation | Line |
---|---|
Error while parsing /opt/development/protocol-tester/app/src/main/java/org/apache/james/mpt/app/Main.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /opt/development/protocol-tester/app/src/main/java/org/apache/james/mpt/app/Main.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Violation | Line |
---|---|
Found 'UR'-anomaly for variable 'host' (lines '53'-'54'). | 53 - 54 |
Avoid using final local variables, turn them into fields | 56 |
Avoid using final local variables, turn them into fields | 57 |
Avoid using final local variables, turn them into fields | 58 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 42 - 47 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 64 |
Avoid empty while statements | 81 |
Avoid using final local variables, turn them into fields | 88 |
Avoid using final local variables, turn them into fields | 156 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 46 |
Avoid using final local variables, turn them into fields | 48 |
Avoid using final local variables, turn them into fields | 65 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 41 |
Avoid modifiers which are implied by the context | 52 |
Avoid modifiers which are implied by the context | 54 - 56 |
Avoid modifiers which are implied by the context | 55 |
Violation | Line |
---|---|
Error while parsing /opt/development/protocol-tester/main/src/main/java/org/apache/james/mpt/ProtocolInteractor.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /opt/development/protocol-tester/main/src/main/java/org/apache/james/mpt/ProtocolInteractor.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Violation | Line |
---|---|
Error while parsing /opt/development/protocol-tester/main/src/main/java/org/apache/james/mpt/ProtocolSession.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /opt/development/protocol-tester/main/src/main/java/org/apache/james/mpt/ProtocolSession.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Violation | Line |
---|---|
Error while parsing /opt/development/protocol-tester/main/src/main/java/org/apache/james/mpt/ProtocolSessionBuilder.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /opt/development/protocol-tester/main/src/main/java/org/apache/james/mpt/ProtocolSessionBuilder.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Violation | Line |
---|---|
Found 'UR'-anomaly for variable 'session' (lines '76'-'82'). | 76 - 82 |
Found 'UR'-anomaly for variable 'session' (lines '76'-'82'). | 76 - 82 |
Avoid using final local variables, turn them into fields | 120 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 81 |
Avoid using final local variables, turn them into fields | 93 |
Avoid using final local variables, turn them into fields | 97 |
Avoid using final local variables, turn them into fields | 99 |
Avoid using final local variables, turn them into fields | 112 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 33 |
Avoid modifiers which are implied by the context | 40 |
Avoid modifiers which are implied by the context | 47 |
Avoid modifiers which are implied by the context | 54 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 35 - 36 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 33 |