Le document suivant contient les résultats de PMD 6.13.0.
Rule | Violation | Ligne |
---|---|---|
ConstructorCallsOverridableMethod | Overridable method 'setAppointment' called during object construction | 70 |
Rule | Violation | Ligne |
---|---|---|
AvoidUsingVolatile | Use of modifier volatile is not recommended. | 73 |
Rule | Violation | Ligne |
---|---|---|
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 | Ligne |
---|---|---|---|
ConstructorCallsOverridableMethod | Overridable method 'setAppointment' called during object construction | 1 | 70 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
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 |