Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 3
fr/paris/lutece/util/configsource/Configuration.java
Rule |
Violation |
Ligne |
ImmutableField |
Private field '_config' could be made final; it is only initialized in the declaration or constructor. |
46 |
ImmutableField |
Private field '_vaultAddress' could be made final; it is only initialized in the declaration or constructor. |
49 |
ImmutableField |
Private field '_token' could be made final; it is only initialized in the declaration or constructor. |
52 |
ImmutableField |
Private field '_vaultPropertiesPath' could be made final; it is only initialized in the declaration or constructor. |
55 |
fr/paris/lutece/util/configsource/VaultConfigSource.java
Rule |
Violation |
Ligne |
ImmutableField |
Private field '_configuration' could be made final; it is only initialized in the declaration or constructor. |
52 |
SingularField |
Perhaps '_configuration' could be replaced by a local variable. |
52 |
ImmutableField |
Private field '_vaultProperties' could be made final; it is only initialized in the declaration or constructor. |
55 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
55 |
fr/paris/lutece/util/configsource/VaultService.java
Rule |
Violation |
Ligne |
ImmutableField |
Private field '_vault' could be made final; it is only initialized in the declaration or constructor. |
19 |
Fichiers
fr/paris/lutece/util/configsource/Configuration.java
Rule |
Violation |
Priority |
Ligne |
ImmutableField |
Private field '_config' could be made final; it is only initialized in the declaration or constructor. |
3 |
46 |
ImmutableField |
Private field '_vaultAddress' could be made final; it is only initialized in the declaration or constructor. |
3 |
49 |
ImmutableField |
Private field '_token' could be made final; it is only initialized in the declaration or constructor. |
3 |
52 |
ImmutableField |
Private field '_vaultPropertiesPath' could be made final; it is only initialized in the declaration or constructor. |
3 |
55 |
fr/paris/lutece/util/configsource/VaultConfigSource.java
Rule |
Violation |
Priority |
Ligne |
ImmutableField |
Private field '_configuration' could be made final; it is only initialized in the declaration or constructor. |
3 |
52 |
SingularField |
Perhaps '_configuration' could be replaced by a local variable. |
3 |
52 |
ImmutableField |
Private field '_vaultProperties' could be made final; it is only initialized in the declaration or constructor. |
3 |
55 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
55 |
fr/paris/lutece/util/configsource/VaultService.java
Rule |
Violation |
Priority |
Ligne |
ImmutableField |
Private field '_vault' could be made final; it is only initialized in the declaration or constructor. |
3 |
19 |