The following document contains the results of PMD 6.13.0.
| Rule | Violation | Line |
|---|---|---|
| AbstractClassWithoutAnyMethod | No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. | 42–54 |
| FieldNamingConventions | The public constant name 'RIGHT_AdminWall' doesn't match '[A-Z][A-Z_0-9]*' | 45 |
| Rule | Violation | Line |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 169 |
| Rule | Violation | Line |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 157 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 183 |
| Rule | Violation | Line |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 163 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 191 |
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'flagUrl'. | 43 |
| AssignmentInOperand | Avoid assignments in operands | 45 |
| UnusedLocalVariable | Avoid unused local variables such as 'flagTag'. | 78 |
| AssignmentInOperand | Avoid assignments in operands | 80 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 121 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 122 |
| Rule | Violation | Line |
|---|---|---|
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 70 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 70 |
| ShortVariable | Avoid variables with short names like t | 76 |
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 42–54 |
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 72–298 |
| UnusedPrivateField | Avoid unused private fields such as '_hashtag'. | 115 |
| UnusedPrivateField | Avoid unused private fields such as '_link'. | 116 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 127 |
| AddEmptyString | Do not add empty strings | 193 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 209 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 226 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 256 |
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Link | 40–100 |
| Rule | Violation | Line |
|---|---|---|
| UnusedImports | Avoid unused imports such as 'javax.validation.constraints.Pattern' | 37 |
| ShortClassName | Avoid short class names like Post | 45–158 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 169 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ShortClassName | Avoid short class names like Link | 4 | 40–100 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 157 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 183 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedImports | Avoid unused imports such as 'javax.validation.constraints.Pattern' | 4 | 37 |
| ShortClassName | Avoid short class names like Post | 4 | 45–158 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 163 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 191 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'flagUrl'. | 3 | 43 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 45 |
| UnusedLocalVariable | Avoid unused local variables such as 'flagTag'. | 3 | 78 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 80 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 121 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 122 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 70 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 70 |
| ShortVariable | Avoid variables with short names like t | 3 | 76 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AbstractClassWithoutAnyMethod | No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. | 1 | 42–54 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 42–54 |
| FieldNamingConventions | The public constant name 'RIGHT_AdminWall' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 45 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 72–298 |
| UnusedPrivateField | Avoid unused private fields such as '_hashtag'. | 3 | 115 |
| UnusedPrivateField | Avoid unused private fields such as '_link'. | 3 | 116 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 127 |
| AddEmptyString | Do not add empty strings | 3 | 193 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 209 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 226 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 256 |