Fix comparison of IdentifiedUser to Account.Id
Change-Id: Iee02eabde2021b89eaa34079e75d8b639c9965a3
This commit is contained in:
committed by
Dave Borowitz
parent
31b856d070
commit
26ad4c94b8
@@ -217,7 +217,7 @@ public class ChangeRebuilder {
|
|||||||
private static boolean sameUpdate(Event event, ChangeUpdate update) {
|
private static boolean sameUpdate(Event event, ChangeUpdate update) {
|
||||||
return update != null
|
return update != null
|
||||||
&& round(event.when) == round(update.getWhen())
|
&& round(event.when) == round(update.getWhen())
|
||||||
&& event.who.equals(update.getUser())
|
&& event.who.equals(update.getUser().getAccountId())
|
||||||
&& event.psId.equals(update.getPatchSetId());
|
&& event.psId.equals(update.getPatchSetId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user