The following document contains the results of PMD 6.13.0.
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 40–46 |
| CommentRequired | Public method and constructor comments are required | 42–45 |
| Rule | Violation | Line |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 87 |
| AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 101–110 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 117 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 149–167 |
| AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 157 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 190–219 |
| ShortVariable | Avoid variables with short names like pm | 213 |
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 60–184 |
| ShortVariable | Avoid variables with short names like r | 180 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 40–46 |
| CommentRequired | Public method and constructor comments are required | 3 | 42–45 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 87 |
| AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 101–110 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 117 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 149–167 |
| AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 3 | 157 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 190–219 |
| ShortVariable | Avoid variables with short names like pm | 3 | 213 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 60–184 |
| ShortVariable | Avoid variables with short names like r | 3 | 180 |