zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject zookeeper git commit: ZOOKEEPER-2904: Remove unused imports from org.apache.zookeeper.server.quorum.WatchLeakTest
Date Wed, 04 Oct 2017 17:26:26 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/master 54cd7519a -> aa35571ea


ZOOKEEPER-2904: Remove unused imports from org.apache.zookeeper.server.quorum.WatchLeakTest

Following imports are never used and unused imports do not adhere to code standard :

import org.apache.zookeeper.server.ZooTrace;
import java.util.ArrayList;
import java.util.List;

Author: Nikhil Bhide <nikhilbhide15@gmail.com>

Reviewers: Patrick Hunt <phunt@apache.org>

Closes #387 from nikhilbhide/ZOOKEEPER-2904

Change-Id: Ib1140021d3432c9e7981dfdf48e75ea1a2de325f


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/aa35571e
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/aa35571e
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/aa35571e

Branch: refs/heads/master
Commit: aa35571ea2be1791430349fcc1485b1bdccec6a1
Parents: 54cd751
Author: Nikhil Bhide <nikhilbhide15@gmail.com>
Authored: Wed Oct 4 10:26:21 2017 -0700
Committer: Patrick Hunt <phunt@apache.org>
Committed: Wed Oct 4 10:26:21 2017 -0700

----------------------------------------------------------------------
 .../test/org/apache/zookeeper/server/quorum/WatchLeakTest.java    | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/aa35571e/src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
----------------------------------------------------------------------
diff --git a/src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java b/src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
index 8bc54aa..d8667dc 100644
--- a/src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
+++ b/src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
@@ -40,9 +40,7 @@ import java.nio.channels.SelectableChannel;
 import java.nio.channels.SelectionKey;
 import java.nio.channels.Selector;
 import java.nio.channels.SocketChannel;
-import java.util.ArrayList;
 import java.util.Collections;
-import java.util.List;
 import java.util.Random;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -61,7 +59,6 @@ import org.apache.zookeeper.server.NIOServerCnxn;
 import org.apache.zookeeper.server.NIOServerCnxnFactory;
 import org.apache.zookeeper.server.MockSelectorThread;
 import org.apache.zookeeper.server.ZKDatabase;
-import org.apache.zookeeper.server.ZooTrace;
 import org.apache.zookeeper.server.persistence.FileTxnSnapLog;
 import org.apache.zookeeper.ZKParameterized;
 import org.junit.Before;


Mime
View raw message