ChangeJson: Move out ApprovalInfo creation and remove method

Change-Id: Ib60fcbdd335278c2240fe11383fce2c7d02ff294
This commit is contained in:
Patrick Hiesel
2018-10-12 13:42:33 +02:00
parent b3901122ea
commit 20a3c80765
6 changed files with 31 additions and 42 deletions

View File

@@ -115,7 +115,7 @@ public class EventUtil {
Integer value = e.getValue() != null ? Integer.valueOf(e.getValue()) : null;
result.put(
e.getKey(),
ChangeJson.getApprovalInfo(accountState.getAccount().getId(), value, null, null, ts));
new ApprovalInfo(accountState.getAccount().getId().get(), value, null, null, ts));
}
return result;
}