Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 2
fr/paris/lutece/plugins/librarynotifygru/rs/service/AbstractNotificationTransportRest.java
fr/paris/lutece/plugins/librarynotifygru/rs/service/NotificationTransportApiManagerRest.java
fr/paris/lutece/plugins/librarynotifygru/services/HttpAccessTransport.java
Rule |
Violation |
Ligne |
LoggerIsNotStaticFinal |
The Logger variable declaration does not contain the static and final modifiers |
58 |
Priority 3
fr/paris/lutece/plugins/librarynotifygru/rs/service/AbstractNotificationTransportRest.java
fr/paris/lutece/plugins/librarynotifygru/rs/service/NotificationTransportApiManagerRest.java
Rule |
Violation |
Ligne |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
115 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
115 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
116 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
116 |
fr/paris/lutece/plugins/librarynotifygru/services/HttpAccessTransport.java
fr/paris/lutece/plugins/librarynotifygru/services/IHttpTransportProvider.java
Rule |
Violation |
Ligne |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_ACCEPT': the field is declared in an interface type |
47 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_CONTENT_TYPE': the field is declared in an interface type |
48 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_AUTHORIZATION': the field is declared in an interface type |
49 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_MEDIATYPE_APPLICATION_FORM_URLENCODED': the field is declared in an interface type |
50 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_MEDIATYPE_APPLICATION_JSON': the field is declared in an interface type |
51 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_MEDIATYPE_APPLICATION_JSON_UTF8': the field is declared in an interface type |
52 |
Fichiers
fr/paris/lutece/plugins/librarynotifygru/rs/service/AbstractNotificationTransportRest.java
fr/paris/lutece/plugins/librarynotifygru/rs/service/NotificationTransportApiManagerRest.java
fr/paris/lutece/plugins/librarynotifygru/services/HttpAccessTransport.java
fr/paris/lutece/plugins/librarynotifygru/services/IHttpTransportProvider.java
Rule |
Violation |
Priority |
Ligne |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_ACCEPT': the field is declared in an interface type |
3 |
47 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_CONTENT_TYPE': the field is declared in an interface type |
3 |
48 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_AUTHORIZATION': the field is declared in an interface type |
3 |
49 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_MEDIATYPE_APPLICATION_FORM_URLENCODED': the field is declared in an interface type |
3 |
50 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_MEDIATYPE_APPLICATION_JSON': the field is declared in an interface type |
3 |
51 |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'HTTP_HEADER_MEDIATYPE_APPLICATION_JSON_UTF8': the field is declared in an interface type |
3 |
52 |