The following document contains the results of PMD 6.13.0.
| Rule | Violation | Line |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 199 |
| Rule | Violation | Line |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 137 |
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 58–67 |
| InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 38 characters appended. | 88 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 105 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 135–142 |
| Rule | Violation | Line |
|---|---|---|
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 113 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 134 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 157 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 168 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 173 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 175–182 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 184 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 227 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 271 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 281 |
| Rule | Violation | Line |
|---|---|---|
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 112 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 130 |
| Rule | Violation | Line |
|---|---|---|
| SingularField | Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. | 62 |
| AddEmptyString | Do not add empty strings | 91 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 199 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 137 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 58–67 |
| InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 38 characters appended. | 3 | 88 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 105 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 135–142 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 113 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 134 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 157 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 168 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 173 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 175–182 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 184 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 227 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 271 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 281 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 112 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 130 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| SingularField | Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. | 3 | 62 |
| AddEmptyString | Do not add empty strings | 3 | 91 |