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. 538
Useless parentheses. 538
Useless parentheses. 573
These nested if statements could be combined 609–611

org/apache/johnzon/core/JsonObjectBuilderImpl.java

Violation Line
Useless parentheses. 194

org/apache/johnzon/core/JsonStreamParserImpl.java

Violation Line
Useless parentheses. 264
Avoid empty while statements 643–645
Useless parentheses. 691
Useless parentheses. 692
Useless parentheses. 702–705
The null check here is misplaced; if the variable is null there will be a NullPointerException 726
The null check here is misplaced; if the variable is null there will be a NullPointerException 726
Useless parentheses. 726
Avoid empty while statements 800–802

org/apache/johnzon/core/RFC4627AwareInputStreamReader.java

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

org/apache/johnzon/core/Snippet.java

Violation Line
Avoid unused private fields such as 'max'. 45

org/apache/johnzon/core/Types.java

Violation Line
Useless parentheses. 132