diff options
author | David Pursehouse <dpursehouse@collab.net> | 2019-10-28 10:09:09 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2019-11-10 09:19:11 -0800 |
commit | 5e3cbc8e7e45172790e777ec0576b08b65934b09 (patch) | |
tree | 6dbe0a3713dadc398425af8b129c738f1b86836d | |
parent | 51750cae8ba3c68bcefedbe8b05faabf9ea5ada4 (diff) |
Remove unused private methodsv3.1.0
Change-Id: Ibad18b68f471bfb2e6fadaf1455993aa2d382d9d
-rw-r--r-- | src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java index 4ebd67e..92b07ed 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java @@ -576,14 +576,6 @@ public class Destination { } } - private boolean refHasPendingPush(URIish opUri, String ref) { - return pushContainsRef(pending.get(opUri), ref) || pushContainsRef(inFlight.get(opUri), ref); - } - - private boolean pushContainsRef(PushOne op, String ref) { - return op != null && op.getRefs().contains(ref); - } - boolean wouldPushProject(Project.NameKey project) { if (!shouldReplicate(project)) { return false; |