The following document contains the results of PMD 6.13.0.
Rule | Violation | Line |
---|---|---|
ConstructorCallsOverridableMethod | Overridable method 'setAppointment' called during object construction | 70 |
Rule | Violation | Line |
---|---|---|
AvoidUsingVolatile | Use of modifier volatile is not recommended. | 73 |
Rule | Violation | Line |
---|---|---|
NonThreadSafeSingleton | Singleton is not thread safe | 82–85 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 139 |
UnusedFormalParameter | Avoid unused method parameters such as 'appointment'. | 235 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 239–246 |
Rule | Violation | Priority | Line |
---|---|---|---|
ConstructorCallsOverridableMethod | Overridable method 'setAppointment' called during object construction | 1 | 70 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingVolatile | Use of modifier volatile is not recommended. | 2 | 73 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 82–85 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 139 |
UnusedFormalParameter | Avoid unused method parameters such as 'appointment'. | 3 | 235 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 239–246 |