PMD Results

The following document contains the results of PMD 5.3.5.

Files

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. 557
Useless parentheses. 557
Useless parentheses. 592
These nested if statements could be combined 628–630

org/apache/johnzon/core/JsonObjectBuilderImpl.java

Violation Line
Useless parentheses. 190

org/apache/johnzon/core/JsonStreamParserImpl.java

Violation Line
Useless parentheses. 252
Avoid empty while statements 625–627
Useless parentheses. 673
Useless parentheses. 674
Useless parentheses. 683–684
The null check here is misplaced; if the variable is null there will be a NullPointerException 705
The null check here is misplaced; if the variable is null there will be a NullPointerException 705
Useless parentheses. 705
Avoid empty while statements 779–781

org/apache/johnzon/core/RFC4627AwareInputStreamReader.java

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

org/apache/johnzon/core/Types.java

Violation Line
Useless parentheses. 147