PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/myfaces/component/MethodBindingToMethodExpression.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/component/MethodBindingToMethodExpression.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/component/MethodBindingToMethodExpression.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/component/MethodExpressionToMethodBinding.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/component/MethodExpressionToMethodBinding.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/component/MethodExpressionToMethodBinding.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/aliasbean/AliasBean.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBean.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBean.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/aliasbean/AliasBeanTag.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeanTag.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeanTag.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/aliasbean/AliasBeansScope.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/buffer/AbstractBuffer.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/buffer/AbstractBuffer.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/buffer/AbstractBuffer.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendarTag.java

ViolationLine
Avoid unused local variables such as 'context'.56

org/apache/myfaces/custom/datalist/AbstractHtmlDataList.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/datalist/AbstractHtmlDataList.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/datalist/AbstractHtmlDataList.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/date/AbstractHtmlInputDateTag.java

ViolationLine
Avoid unused local variables such as 'context'.57

org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java

ViolationLine
Overriding method merely calls super124 - 127

org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/navigation/AbstractHtmlPanelNavigation.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/navigation/AbstractHtmlPanelNavigation.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/navigation/AbstractHtmlPanelNavigation.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/navmenu/AbstractUINavigationMenuItem.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/navmenu/AbstractUINavigationMenuItem.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/navmenu/AbstractUINavigationMenuItem.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/radio/AbstractHtmlRadio.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_RENDERER_TYPE'.67

org/apache/myfaces/custom/savestate/UISaveState.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/savestate/UISaveState.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/savestate/UISaveState.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/schedule/UISchedule.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/schedule/UISchedule.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/custom/schedule/UISchedule.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/custom/updateactionlistener/UpdateActionListener.java

ViolationLine
An empty statement (semicolon) not part of a loop182
An empty statement (semicolon) not part of a loop183

org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java

ViolationLine
Avoid empty if statements474 - 476

org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java: Can't use generics unless running in JDK 1.5 mode!0

org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java

ViolationLine
Avoid empty if statements326 - 328

org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java

ViolationLine
Avoid unused method parameters such as 'facesContext'.312 - 464
These nested if statements could be combined691 - 693
Avoid unnecessary temporaries when converting primitives to Strings704
These nested if statements could be combined722 - 724

org/apache/myfaces/renderkit/html/util/NonBufferingAddResource.java

ViolationLine
Avoid empty catch blocks557 - 561

org/apache/myfaces/tomahawk/application/jsp/JspTilesTwoViewHandlerImpl.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/tomahawk/application/jsp/JspTilesTwoViewHandlerImpl.java: Can't use variable arguments (varargs) when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/tomahawk/application/jsp/JspTilesTwoViewHandlerImpl.java: Can't use variable arguments (varargs) when running in JDK 1.4 mode!0

org/apache/myfaces/tomahawk/application/jsp/ViewResponseWrapper.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/tomahawk/application/jsp/ViewResponseWrapper.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/tomahawk/application/jsp/ViewResponseWrapper.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/validator/ValidatorBase.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/validator/ValidatorBase.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/validator/ValidatorBase.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/validator/ValidatorBaseTagHandler.java

ViolationLine
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/validator/ValidatorBaseTagHandler.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /home/lu4242/workspace/trunk/current/tomahawk/core12/src/main/java/org/apache/myfaces/validator/ValidatorBaseTagHandler.java: Can't use annotations when running in JDK 1.4 mode!0

org/apache/myfaces/validator/_ValidatorRule.java

ViolationLine
These nested if statements could be combined85 - 95