PMD Results

The following document contains the results of PMD 5.3.5.

Files

org/apache/johnzon/core/BufferStrategy.java

Violation Line
Avoid modifiers which are implied by the context 73–77

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/JsonDoubleImpl.java

Violation Line
Useless parentheses. 121

org/apache/johnzon/core/JsonGeneratorImpl.java

Violation Line
Useless parentheses. 552
Useless parentheses. 552
Useless parentheses. 587
These nested if statements could be combined 623–625

org/apache/johnzon/core/JsonObjectBuilderImpl.java

Violation Line
Useless parentheses. 178

org/apache/johnzon/core/JsonProviderImpl.java

Violation Line
Useless parentheses. 250
Useless parentheses. 255
Useless parentheses. 270
Useless parentheses. 285
Useless parentheses. 349

org/apache/johnzon/core/JsonStreamParserImpl.java

Violation Line
Useless parentheses. 247
Avoid empty while statements 610–612
Useless parentheses. 685
Useless parentheses. 686
Useless parentheses. 695–696
The null check here is misplaced; if the variable is null there will be a NullPointerException 717
Useless parentheses. 717
The null check here is misplaced; if the variable is null there will be a NullPointerException 717
Avoid empty while statements 791–793
Useless parentheses. 966

org/apache/johnzon/core/RFC4627AwareInputStreamReader.java

Violation Line
Useless parentheses. 102
Useless parentheses. 103
Useless parentheses. 107

org/apache/johnzon/core/Strings.java

Violation Line
Avoid unused private fields such as 'BUILDER_CACHE'. 27

org/apache/johnzon/core/Types.java

Violation Line
Useless parentheses. 147