diff --git a/core/src/test/scala/unit/kafka/network/SocketServerTest.scala b/core/src/test/scala/unit/kafka/network/SocketServerTest.scala index 7d3b42897cc..9f1d0fe8a1c 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 3d4be531985..6d56a023930 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 8f8842bbe97..1203f839f89 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}