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()'. | 
73 | 
 
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()'. | 
75 | 
 
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. | 
173 | 
| Useless parentheses. | 
174 | 
| Useless parentheses. | 
184 | 
| Useless parentheses. | 
218 | 
| Avoid empty while statements | 
536–538 | 
| Useless parentheses. | 
605 | 
| Useless parentheses. | 
605 | 
| Useless parentheses. | 
606 | 
| Useless parentheses. | 
606 | 
| Useless parentheses. | 
606 | 
| Avoid empty while statements | 
711–713 | 
| Useless parentheses. | 
733 | 
| Useless parentheses. | 
879 | 
| Useless parentheses. | 
881 | 
| Useless parentheses. | 
886 | 
| Useless parentheses. | 
916 | 
| Useless parentheses. | 
935 | 
 
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 |