You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2018/05/01 22:27:26 UTC

[kafka] branch trunk updated: MINOR: Removed unused imports in a few tests (#4938)

This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b82252b  MINOR: Removed unused imports in a few tests (#4938)
b82252b is described below

commit b82252b1e03c2cff9ca4059157dc850afbe047bf
Author: Mickael Maison <mi...@users.noreply.github.com>
AuthorDate: Tue May 1 23:27:20 2018 +0100

    MINOR: Removed unused imports in a few tests (#4938)
    
    Reviewers: Ismael Juma <is...@juma.me.uk>
---
 core/src/test/scala/unit/kafka/network/SocketServerTest.scala           | 2 +-
 .../unit/kafka/server/DelegationTokenRequestsOnPlainTextTest.scala      | 1 -
 .../server/DelegationTokenRequestsWithDisableTokenFeatureTest.scala     | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/core/src/test/scala/unit/kafka/network/SocketServerTest.scala b/core/src/test/scala/unit/kafka/network/SocketServerTest.scala
index 7d3b428..9f1d0fe 100644
--- a/core/src/test/scala/unit/kafka/network/SocketServerTest.scala
+++ b/core/src/test/scala/unit/kafka/network/SocketServerTest.scala
@@ -20,7 +20,7 @@ package kafka.network
 import java.io._
 import java.net._
 import java.nio.ByteBuffer
-import java.util.{HashMap, Properties, Random}
+import java.util.{HashMap, Random}
 import java.nio.channels.SocketChannel
 import javax.net.ssl._
 
diff --git a/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsOnPlainTextTest.scala b/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsOnPlainTextTest.scala
index 3d4be53..6d56a02 100644
--- a/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsOnPlainTextTest.scala
+++ b/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsOnPlainTextTest.scala
@@ -16,7 +16,6 @@
   */
 package kafka.server
 
-import java.nio.ByteBuffer
 import java.util
 
 import kafka.utils.TestUtils
diff --git a/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsWithDisableTokenFeatureTest.scala b/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsWithDisableTokenFeatureTest.scala
index 8f8842b..1203f83 100644
--- a/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsWithDisableTokenFeatureTest.scala
+++ b/core/src/test/scala/unit/kafka/server/DelegationTokenRequestsWithDisableTokenFeatureTest.scala
@@ -16,7 +16,6 @@
   */
 package kafka.server
 
-import java.nio.ByteBuffer
 import java.util
 
 import kafka.api.{KafkaSasl, SaslSetup}

-- 
To stop receiving notification emails like this one, please contact
ijuma@apache.org.