Sonar wrongly identifies the public set() method as a setter for the
enum and logs a violation (enums should not be mutable).
Change the access level modifier (to make it not public) as lowering the
visibility suppresses the Sonar false positive.
Change-Id: Ic3e5ade0410a7702a89e22fd72b6fbe4d8db0dc4
Issue-ID: AAI-2057
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
return StringUtils.decrypt(propertyValue);
}
- public void set(String propertyValue) {
+ protected void set(String propertyValue) {
System.setProperty(propertyName, propertyValue);
}
}