Sonar issue fixed

Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
This commit is contained in:
Dominic Schabel
2019-05-24 11:14:31 +02:00
parent c88e7bb06e
commit 509693d0ae
23 changed files with 97 additions and 94 deletions

View File

@@ -39,7 +39,7 @@ public enum ActionFields implements FieldNameProvider, FieldValueConverter<Actio
@Override
public Object convertValue(final ActionFields e, final String value) {
if (STATUS.equals(e)) {
if (STATUS == e) {
return convertStatusValue(value);
}
return value;
@@ -58,7 +58,7 @@ public enum ActionFields implements FieldNameProvider, FieldValueConverter<Actio
@Override
public String[] possibleValues(final ActionFields e) {
if (STATUS.equals(e)) {
if (STATUS == e) {
return new String[] { ACTIVE, INACTIVE };
}
return new String[0];