commit | 5e3cbc8e7e45172790e777ec0576b08b65934b09 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon Oct 28 10:09:09 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Sun Nov 10 09:19:11 2019 -0800 |
tree | 6dbe0a3713dadc398425af8b129c738f1b86836d | |
parent | 51750cae8ba3c68bcefedbe8b05faabf9ea5ada4 [diff] |
Remove unused private methods Change-Id: Ibad18b68f471bfb2e6fadaf1455993aa2d382d9d
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 @@ } } - 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;