Repository: zookeeper Updated Branches: refs/heads/branch-3.4 7b9176cbb -> ffda36316
ZOOKEEPER-2962: Removed Unused method. Author: asutosh936 <asutosh.pan...@hotmail.com> Reviewers: Abraham Fine <af...@apache.org> Closes #482 from asutosh936/branch-3.4 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/ffda3631 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/ffda3631 Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/ffda3631 Branch: refs/heads/branch-3.4 Commit: ffda36316b99c50802e1f812da5f5bfb41b8808c Parents: 7b9176c Author: asutosh936 <asutosh.pan...@hotmail.com> Authored: Thu Mar 8 09:51:34 2018 -0800 Committer: Abraham Fine <af...@apache.org> Committed: Thu Mar 8 09:51:34 2018 -0800 ---------------------------------------------------------------------- .../apache/zookeeper/server/quorum/FastLeaderElection.java | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ffda3631/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java ---------------------------------------------------------------------- diff --git a/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java b/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java index 67e9267..62216ab 100644 --- a/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java +++ b/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java @@ -455,13 +455,6 @@ public class FastLeaderElection implements Election { } } - /** - * Test if both send and receive queues are empty. - */ - public boolean queueEmpty() { - return (sendqueue.isEmpty() || recvqueue.isEmpty()); - } - WorkerSender ws; WorkerReceiver wr;