PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/myfaces/shared/application/CheckedViewIdsCache.java
Violation | Line |
---|---|
Error while parsing /root/myfaces/myfacesGit/myfaces/shared/src/main/java/org/apache/myfaces/shared/application/CheckedViewIdsCache.java: Encountered " ">" "> "" at line 80, column 40. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... | 0 |
Error while parsing /root/myfaces/myfacesGit/myfaces/shared/src/main/java/org/apache/myfaces/shared/application/CheckedViewIdsCache.java: Encountered " ">" "> "" at line 80, column 40. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... | 0 |
org/apache/myfaces/shared/application/DefaultViewHandlerSupport.java
Violation | Line |
---|---|
These nested if statements could be combined | 221 - 238 |
Avoid empty catch blocks | 610 - 613 |
org/apache/myfaces/shared/application/FacesServletMappingUtils.java
Violation | Line |
---|---|
Error while parsing /root/myfaces/myfacesGit/myfaces/shared/src/main/java/org/apache/myfaces/shared/application/FacesServletMappingUtils.java: Encountered " ">" "> "" at line 118, column 35. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... | 0 |
Error while parsing /root/myfaces/myfacesGit/myfaces/shared/src/main/java/org/apache/myfaces/shared/application/FacesServletMappingUtils.java: Encountered " ">" "> "" at line 118, column 35. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... | 0 |
org/apache/myfaces/shared/config/MyfacesConfig.java
Violation | Line |
---|---|
Avoid empty catch blocks | 965 - 969 |
org/apache/myfaces/shared/context/flash/FlashImpl.java
Violation | Line |
---|---|
These nested if statements could be combined | 247 - 274 |
These nested if statements could be combined | 1171 - 1176 |
org/apache/myfaces/shared/renderkit/RendererUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 93 - 96 |
Overriding method merely calls super | 102 - 105 |
org/apache/myfaces/shared/renderkit/_SharedRendererUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 173 - 181 |
Avoid empty catch blocks | 484 - 487 |
Avoid unused method parameters such as 'context'. | 499 - 502 |
org/apache/myfaces/shared/renderkit/html/HtmlImageRendererBase.java
Violation | Line |
---|---|
These nested if statements could be combined | 103 - 108 |
org/apache/myfaces/shared/renderkit/html/HtmlJavaScriptUtils.java
Violation | Line |
---|---|
Avoid unused private fields such as 'SET_HIDDEN_INPUT_FN_NAME'. | 44 |
Avoid unused private fields such as 'CLEAR_HIDDEN_INPUT_FN_NAME'. | 48 |
Avoid unused method parameters such as 'context'. | 143 - 162 |
org/apache/myfaces/shared/renderkit/html/HtmlRadioRendererBase.java
Violation | Line |
---|---|
Error while parsing /root/myfaces/myfacesGit/myfaces/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRadioRendererBase.java: Encountered " ">" "> "" at line 579, column 50. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... | 0 |
Error while parsing /root/myfaces/myfacesGit/myfaces/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRadioRendererBase.java: Encountered " ">" "> "" at line 579, column 50. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... | 0 |
org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Violation | Line |
---|---|
Avoid unused private fields such as 'LINE_SEPARATOR'. | 82 |
Unnecessary final modifier in final class | 924 - 935 |
org/apache/myfaces/shared/renderkit/html/HtmlResponseWriterImpl.java
Violation | Line |
---|---|
Avoid unused private fields such as 'COMMENT_END'. | 115 |
These nested if statements could be combined | 546 - 552 |
Avoid empty if statements | 583 - 591 |
These nested if statements could be combined | 1074 - 1084 |
org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
Violation | Line |
---|---|
Avoid unused method parameters such as 'facesContext'. | 317 - 338 |
These nested if statements could be combined | 502 - 505 |
These nested if statements could be combined | 1203 - 1206 |
org/apache/myfaces/shared/renderkit/html/HtmlTextRendererBase.java
Violation | Line |
---|---|
Avoid empty if statements | 364 - 366 |
org/apache/myfaces/shared/renderkit/html/util/HTMLEncoder.java
Violation | Line |
---|---|
Avoid empty if statements | 650 - 653 |
Avoid empty if statements | 675 - 677 |
Avoid empty if statements | 810 - 812 |
Avoid empty if statements | 831 - 833 |
Avoid empty if statements | 845 - 847 |
Avoid empty if statements | 1050 - 1053 |
Avoid empty if statements | 1095 - 1097 |
Avoid empty if statements | 1258 - 1260 |
Avoid empty if statements | 1291 - 1293 |
Avoid empty if statements | 1305 - 1307 |
org/apache/myfaces/shared/renderkit/html/util/JavascriptUtils.java
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 34 |
Avoid unused private fields such as 'AUTO_SCROLL_PARAM'. | 38 |
Avoid unused private fields such as 'AUTO_SCROLL_FUNCTION'. | 39 |
org/apache/myfaces/shared/renderkit/html/util/ResourceUtils.java
Violation | Line |
---|---|
Avoid unnecessary return statements | 189 |
Avoid unnecessary return statements | 255 |
org/apache/myfaces/shared/resource/BaseResourceHandlerSupport.java
Violation | Line |
---|---|
These nested if statements could be combined | 135 - 138 |
org/apache/myfaces/shared/resource/ClassLoaderResourceLoader.java
Violation | Line |
---|---|
Avoid unused private fields such as '_resourceFileFilter'. | 77 |
org/apache/myfaces/shared/resource/ClassLoaderResourceLoaderIterator.java
Violation | Line |
---|---|
Avoid empty catch blocks | 195 - 198 |
org/apache/myfaces/shared/resource/ExternalContextResourceLoaderIterator.java
Violation | Line |
---|---|
Avoid unused private fields such as 'options'. | 37 |
Avoid empty if statements | 51 - 53 |
Avoid empty if statements | 59 - 61 |
Avoid empty if statements | 63 - 65 |
org/apache/myfaces/shared/resource/ResourceLoaderUtils.java
Violation | Line |
---|---|
Avoid empty catch blocks | 66 - 69 |
Avoid empty catch blocks | 113 - 116 |
org/apache/myfaces/shared/resource/ResourceValidationUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 135 - 140 |
These nested if statements could be combined | 215 - 220 |
org/apache/myfaces/shared/util/FastWriter.java
Violation | Line |
---|---|
Unnecessary final modifier in final class | 61 - 69 |
org/apache/myfaces/shared/util/StateUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 209 - 215 |
Unnecessary final modifier in final class | 245 - 265 |
Unnecessary final modifier in final class | 276 - 303 |
Unnecessary final modifier in final class | 358 - 377 |
Unnecessary final modifier in final class | 379 - 382 |
Unnecessary final modifier in final class | 387 - 417 |
Unnecessary final modifier in final class | 419 - 422 |
Unnecessary final modifier in final class | 424 - 457 |
Unnecessary final modifier in final class | 539 - 646 |
Avoid empty catch blocks | 634 - 639 |
org/apache/myfaces/shared/util/StreamCharBuffer.java
Violation | Line |
---|---|
Unnecessary final modifier in final class | 969 - 1007 |
Unnecessary final modifier in final class | 1009 - 1022 |
Unnecessary final modifier in final class | 1024 - 1027 |
Unnecessary final modifier in final class | 1029 - 1041 |
Unnecessary final modifier in final class | 1043 - 1051 |
Unnecessary final modifier in final class | 1054 - 1057 |
Unnecessary final modifier in final class | 1060 - 1090 |
Unnecessary final modifier in final class | 1092 - 1117 |
Unnecessary final modifier in final class | 1120 - 1165 |
Unnecessary final modifier in final class | 1168 - 1181 |
Unnecessary final modifier in final class | 1200 - 1210 |
Unnecessary final modifier in final class | 1238 - 1241 |
These nested if statements could be combined | 1267 - 1272 |
These nested if statements could be combined | 1349 - 1366 |
Unnecessary final modifier in final class | 1382 - 1386 |
Unnecessary final modifier in final class | 1388 - 1435 |
Unnecessary final modifier in final class | 1443 - 1446 |
Unnecessary final modifier in final class | 1558 - 1562 |
Unnecessary final modifier in final class | 1564 - 1569 |
Unnecessary final modifier in final class | 1571 - 1576 |
Unnecessary final modifier in final class | 1578 - 1583 |