FINERACT-2491: Refactor SavingsEnumerations to use switch expression
This commit is contained in:
committed by
Adam Saghy
parent
e4e0082872
commit
92f8b3d0d4
+1
-1
@@ -393,7 +393,7 @@ public class AuditReadPlatformServiceImpl implements AuditReadPlatformService {
|
||||
commandAsJsonMap.remove(typeName);
|
||||
|
||||
final Integer enumTypeId = auditObject.get(typeName).getAsInt();
|
||||
final String code = SavingsEnumerations.savingEnumueration(typeName, enumTypeId).getValue();
|
||||
final String code = SavingsEnumerations.savingEnumeration(typeName, enumTypeId).getValue();
|
||||
if (code != null) {
|
||||
commandAsJsonMap.put(typeName, code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user