From 6ec6ad08f0f15c31a9daa859ff986c21ffcb5383 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sun, 21 Sep 2014 12:46:01 +0200 Subject: [PATCH] Change screen: Make change owner votes removable When change owner votes on change and disappears (yeah, that happens very often: people suddenly disappear) it isn't possible any more to remove her vote. Old change screen had this feature as well. Bug: issue 2909 Change-Id: I7cdbbc5faa2fa6eb68fd42c91ad2181e98bdc2fd --- .../src/main/java/com/google/gerrit/client/change/Reviewers.java | 1 - 1 file changed, 1 deletion(-) diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Reviewers.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Reviewers.java index 10a140dc17..03e4f1bd89 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Reviewers.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Reviewers.java @@ -229,7 +229,6 @@ public class Reviewers extends Composite { for (Integer i : r.keySet()) { cc.remove(i); } - r.remove(info.owner()._account_id()); cc.remove(info.owner()._account_id()); Set removable = new HashSet<>();