PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMockTestCase.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMockTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMockTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMultipleRequestsTestCase.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMultipleRequestsTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMultipleRequestsTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/base/junit4/AbstractJsfTestCase.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/config/ConfigParser.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/config/ConfigParser.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/config/ConfigParser.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/MockApplication20.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockApplication20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockApplication20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockExceptionHandler.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandler.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandler.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockExceptionHandlerFactory.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandlerFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandlerFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/MockExternalContext20.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockFacesContext20.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockFacesContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockFacesContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockFlash.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockFlash.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockFlash.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockPartialViewContext.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockPartialViewContextFactory.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/MockResponseStateManager.java
Violation | Line |
---|---|
These nested if statements could be combined | 129 - 132 |
Avoid unused method parameters such as 'facesContext'. | 177 - 222 |
Avoid empty catch blocks | 198 - 200 |
Avoid empty catch blocks | 212 - 214 |
Avoid unused method parameters such as 'facesContext'. | 224 - 284 |
Avoid empty catch blocks | 260 - 262 |
Avoid empty catch blocks | 274 - 276 |
These nested if statements could be combined | 379 - 382 |
org/apache/myfaces/test/mock/MockSubKeyMap.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockSubKeyMap.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockSubKeyMap.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockViewHandler20.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockViewHandler20.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/MockViewHandler20.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/_ELText.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/_ELText.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/_ELText.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockClassLoaderResourceLoader.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockClassLoaderResourceLoader.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockClassLoaderResourceLoader.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockExternalContextResourceLoader.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockExternalContextResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockExternalContextResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockResource.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockResourceHandler.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockResourceLoader.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockSimpleResource.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockSimpleResourceHandler.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/visit/FullVisitContext.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/FullVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/FullVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/visit/MockVisitContext.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/visit/MockVisitContextFactory.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/visit/PartialVisitContext.java
Violation | Line |
---|---|
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/PartialVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
Error while parsing /home/lu4242/workspace/trunk/current/test/test20/src/main/java/org/apache/myfaces/test/mock/visit/PartialVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |