Apache MyFaces
UI-Component Sets
Foundation

PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMockTestCase.java

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
These nested if statements could be combined111 - 114
Avoid unused method parameters such as 'facesContext'.159 - 204
Avoid empty catch blocks180 - 182
Avoid empty catch blocks194 - 196
Avoid unused method parameters such as 'facesContext'.206 - 265
Avoid empty catch blocks241 - 243
Avoid empty catch blocks255 - 257
These nested if statements could be combined360 - 363

org/apache/myfaces/test/mock/MockSubKeyMap.java

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/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

ViolationLine
Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/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/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/PartialVisitContext.java: Can't use generics unless running in JDK 1.5 mode!0