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. 259
Avoid empty while statements 631–633
Useless parentheses. 679
Useless parentheses. 680
Useless parentheses. 689–690
The null check here is misplaced; if the variable is null there will be a NullPointerException 711
The null check here is misplaced; if the variable is null there will be a NullPointerException 711
Useless parentheses. 711
Avoid empty while statements 785–787

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