PMD Results
The following document contains the results of PMD 5.1.2.
Files
org/apache/johnzon/core/BufferStrategy.java
Violation |
Line |
Avoid modifiers which are implied by the context |
73–77 |
Avoid modifiers which are implied by the context |
79–93 |
Avoid modifiers which are implied by the context |
95–109 |
Avoid modifiers which are implied by the context |
111–129 |
Avoid modifiers which are implied by the context |
131–154 |
Avoid modifiers which are implied by the context |
156–165 |
Avoid modifiers which are implied by the context |
167–182 |
Avoid modifiers which are implied by the context |
184–200 |
Avoid modifiers which are implied by the context |
202–218 |
Avoid modifiers which are implied by the context |
220–243 |
Avoid modifiers which are implied by the context |
245–254 |
Avoid modifiers which are implied by the context |
256–271 |
org/apache/johnzon/core/JsonArrayBuilderImpl.java
Violation |
Line |
Useless parentheses. |
120 |
org/apache/johnzon/core/JsonChars.java
Violation |
Line |
Avoid modifiers which are implied by the context |
66 |
Avoid modifiers which are implied by the context |
67 |
Avoid modifiers which are implied by the context |
68 |
Avoid modifiers which are implied by the context |
69 |
Avoid modifiers which are implied by the context |
70 |
Avoid modifiers which are implied by the context |
71 |
Avoid modifiers which are implied by the context |
72 |
Avoid modifiers which are implied by the context |
73 |
Avoid modifiers which are implied by the context |
74 |
Avoid modifiers which are implied by the context |
75 |
Avoid modifiers which are implied by the context |
77 |
Avoid modifiers which are implied by the context |
78 |
Avoid modifiers which are implied by the context |
80 |
org/apache/johnzon/core/JsonGeneratorFactoryImpl.java
Violation |
Line |
Avoid unused private methods such as 'getBufferProvider()'. |
74 |
org/apache/johnzon/core/JsonGeneratorImpl.java
Violation |
Line |
Avoid unused constructor parameters such as 'cache'. |
70 |
Useless parentheses. |
624 |
Useless parentheses. |
624 |
Useless parentheses. |
660 |
Useless parentheses. |
661 |
Useless parentheses. |
698 |
Useless parentheses. |
699 |
org/apache/johnzon/core/JsonObjectBuilderImpl.java
Violation |
Line |
Useless parentheses. |
124 |
org/apache/johnzon/core/JsonObjectImpl.java
Violation |
Line |
Unnecessary use of fully qualified name 'java.util.Map.Entry' due to existing import 'java.util.Map' |
183 |
org/apache/johnzon/core/JsonParserFactoryImpl.java
Violation |
Line |
Avoid unused private methods such as 'getBufferProvider()'. |
82 |
org/apache/johnzon/core/JsonProviderImpl.java
Violation |
Line |
Useless parentheses. |
148 |
Useless parentheses. |
153 |
Useless parentheses. |
168 |
Useless parentheses. |
183 |
Useless parentheses. |
198 |
org/apache/johnzon/core/JsonStreamParserImpl.java
Violation |
Line |
Useless parentheses. |
172 |
Useless parentheses. |
173 |
Useless parentheses. |
183 |
Useless parentheses. |
217 |
Avoid empty while statements |
540–542 |
Useless parentheses. |
615 |
Useless parentheses. |
615 |
Useless parentheses. |
616 |
Useless parentheses. |
616 |
Useless parentheses. |
616 |
Avoid empty while statements |
721–723 |
Useless parentheses. |
743 |
Useless parentheses. |
889 |
Useless parentheses. |
891 |
Useless parentheses. |
896 |
Useless parentheses. |
926 |
Useless parentheses. |
945 |
org/apache/johnzon/core/RFC4627AwareInputStreamReader.java
Violation |
Line |
Useless parentheses. |
86 |
Useless parentheses. |
87 |
Useless parentheses. |
91 |
org/apache/johnzon/core/Strings.java
Violation |
Line |
Useless parentheses. |
99 |
Useless parentheses. |
99 |