VoteDeletedListener: Remove getRemoved() method from Event interface

The method is not being called, and the implementation in VoteDeleted
doesn't even work as intended (always returns an empty map).

Furthermore, the method would most likely not be useful for consumers
of the event anyway, since they still need to fetch the old and new
approvals maps to correctly build the old/new values mapping; see for
example how these are used in the ReviewerDeleted event.

Change-Id: I008a2d12b5a5c53cb56c13affd9ea76c42103472
This commit is contained in:
David Pursehouse
2017-07-20 09:59:40 +09:00
parent d13c7f33bf
commit f29d92a82f
2 changed files with 0 additions and 8 deletions

View File

@@ -26,8 +26,6 @@ public interface VoteDeletedListener {
Map<String, ApprovalInfo> getApprovals();
Map<String, ApprovalInfo> getRemoved();
String getMessage();
}