Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

fr/paris/lutece/util/configsource/Configuration.java

Rule Violation Line
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 Line
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 Line
ImmutableField Private field '_vault' could be made final; it is only initialized in the declaration or constructor. 19

Files

fr/paris/lutece/util/configsource/Configuration.java

Rule Violation Priority Line
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 Line
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 Line
ImmutableField Private field '_vault' could be made final; it is only initialized in the declaration or constructor. 3 19