ChangeMessagesUtil: Remove ReviewDb-specific logic

ReviewDb is gone.

Change-Id: I4e86d944bafa2904857e1111ac063f21876981a6
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2018-12-11 14:54:16 +01:00
parent d97f8eae9e
commit a951386a7f
27 changed files with 44 additions and 135 deletions

View File

@@ -99,7 +99,7 @@ public class SetAssigneeOp implements BatchUpdateOp {
return true;
}
private void addMessage(ChangeContext ctx, ChangeUpdate update) throws OrmException {
private void addMessage(ChangeContext ctx, ChangeUpdate update) {
StringBuilder msg = new StringBuilder();
msg.append("Assignee ");
if (oldAssignee == null) {
@@ -113,7 +113,7 @@ public class SetAssigneeOp implements BatchUpdateOp {
}
ChangeMessage cmsg =
ChangeMessagesUtil.newMessage(ctx, msg.toString(), ChangeMessagesUtil.TAG_SET_ASSIGNEE);
cmUtil.addChangeMessage(ctx.getDb(), update, cmsg);
cmUtil.addChangeMessage(update, cmsg);
}
@Override