kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: MINOR: Remove unused imports from tests whose packages were fixed
Date Fri, 29 Jan 2016 21:38:34 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 598851f19 -> afda7c4dc


MINOR: Remove unused imports from tests whose packages were fixed

I missed this when reviewing:

https://github.com/apache/kafka/commit/a58b459bddd5b1dcab224b53cda0196e947a5b09

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Guozhang Wang

Closes #836 from ijuma/remove-unused-imports


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

Branch: refs/heads/trunk
Commit: afda7c4dc7246bb6e1589f2d9a21f825aa9325dc
Parents: 598851f
Author: Ismael Juma <ismael@juma.me.uk>
Authored: Fri Jan 29 13:38:30 2016 -0800
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Fri Jan 29 13:38:30 2016 -0800

----------------------------------------------------------------------
 core/src/test/scala/integration/kafka/api/AdminClientTest.scala     | 1 -
 core/src/test/scala/unit/kafka/admin/AclCommandTest.scala           | 1 -
 core/src/test/scala/unit/kafka/security/auth/AclTest.scala          | 1 -
 core/src/test/scala/unit/kafka/security/auth/OperationTest.scala    | 1 -
 .../test/scala/unit/kafka/security/auth/PermissionTypeTest.scala    | 1 -
 core/src/test/scala/unit/kafka/security/auth/ResourceTypeTest.scala | 1 -
 core/src/test/scala/unit/kafka/tools/ConsoleConsumerTest.scala      | 1 -
 7 files changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/afda7c4d/core/src/test/scala/integration/kafka/api/AdminClientTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/integration/kafka/api/AdminClientTest.scala b/core/src/test/scala/integration/kafka/api/AdminClientTest.scala
index a2313ec..ade1911 100644
--- a/core/src/test/scala/integration/kafka/api/AdminClientTest.scala
+++ b/core/src/test/scala/integration/kafka/api/AdminClientTest.scala
@@ -17,7 +17,6 @@
 package kafka.api
 
 import kafka.admin.AdminClient
-import kafka.api.IntegrationTestHarness
 import kafka.server.KafkaConfig
 import kafka.utils.{TestUtils, Logging}
 import org.apache.kafka.clients.consumer.ConsumerConfig

http://git-wip-us.apache.org/repos/asf/kafka/blob/afda7c4d/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala b/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala
index d7ff67c..88c87a7 100644
--- a/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala
+++ b/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala
@@ -19,7 +19,6 @@ package kafka.admin
 import java.io.StringReader
 import java.util.Properties
 
-import kafka.admin.AclCommand
 import kafka.security.auth._
 import kafka.server.KafkaConfig
 import kafka.utils.{Logging, TestUtils}

http://git-wip-us.apache.org/repos/asf/kafka/blob/afda7c4d/core/src/test/scala/unit/kafka/security/auth/AclTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/unit/kafka/security/auth/AclTest.scala b/core/src/test/scala/unit/kafka/security/auth/AclTest.scala
index 54c12f1..dd33dc4 100644
--- a/core/src/test/scala/unit/kafka/security/auth/AclTest.scala
+++ b/core/src/test/scala/unit/kafka/security/auth/AclTest.scala
@@ -16,7 +16,6 @@
  */
 package kafka.security.auth
 
-import kafka.security.auth._
 import kafka.utils.Json
 import org.apache.kafka.common.security.auth.KafkaPrincipal
 import org.junit.{Test, Assert}

http://git-wip-us.apache.org/repos/asf/kafka/blob/afda7c4d/core/src/test/scala/unit/kafka/security/auth/OperationTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/unit/kafka/security/auth/OperationTest.scala b/core/src/test/scala/unit/kafka/security/auth/OperationTest.scala
index aeb4c5d..0a28e8f 100644
--- a/core/src/test/scala/unit/kafka/security/auth/OperationTest.scala
+++ b/core/src/test/scala/unit/kafka/security/auth/OperationTest.scala
@@ -17,7 +17,6 @@
 package kafka.security.auth
 
 import kafka.common.{KafkaException}
-import kafka.security.auth.{Operation, Read}
 import org.junit.{Test, Assert}
 import org.scalatest.junit.JUnitSuite
 

http://git-wip-us.apache.org/repos/asf/kafka/blob/afda7c4d/core/src/test/scala/unit/kafka/security/auth/PermissionTypeTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/unit/kafka/security/auth/PermissionTypeTest.scala b/core/src/test/scala/unit/kafka/security/auth/PermissionTypeTest.scala
index d517004..6cd1ad7 100644
--- a/core/src/test/scala/unit/kafka/security/auth/PermissionTypeTest.scala
+++ b/core/src/test/scala/unit/kafka/security/auth/PermissionTypeTest.scala
@@ -17,7 +17,6 @@
 package kafka.security.auth
 
 import kafka.common.KafkaException
-import kafka.security.auth.{Allow, PermissionType}
 import org.junit.{Test, Assert}
 import org.scalatest.junit.JUnitSuite
 

http://git-wip-us.apache.org/repos/asf/kafka/blob/afda7c4d/core/src/test/scala/unit/kafka/security/auth/ResourceTypeTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/unit/kafka/security/auth/ResourceTypeTest.scala b/core/src/test/scala/unit/kafka/security/auth/ResourceTypeTest.scala
index a2d6b14..3653a7d 100644
--- a/core/src/test/scala/unit/kafka/security/auth/ResourceTypeTest.scala
+++ b/core/src/test/scala/unit/kafka/security/auth/ResourceTypeTest.scala
@@ -17,7 +17,6 @@
 package kafka.security.auth
 
 import kafka.common.KafkaException
-import kafka.security.auth.{ResourceType, Topic}
 import org.junit.{Test, Assert}
 import org.scalatest.junit.JUnitSuite
 

http://git-wip-us.apache.org/repos/asf/kafka/blob/afda7c4d/core/src/test/scala/unit/kafka/tools/ConsoleConsumerTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/unit/kafka/tools/ConsoleConsumerTest.scala b/core/src/test/scala/unit/kafka/tools/ConsoleConsumerTest.scala
index 22f4cfb..66052fc 100644
--- a/core/src/test/scala/unit/kafka/tools/ConsoleConsumerTest.scala
+++ b/core/src/test/scala/unit/kafka/tools/ConsoleConsumerTest.scala
@@ -20,7 +20,6 @@ package kafka.tools
 import java.io.FileOutputStream
 
 import kafka.consumer.{BaseConsumer, BaseConsumerRecord}
-import kafka.tools.{ConsoleConsumer, MessageFormatter}
 import kafka.utils.TestUtils
 import org.easymock.EasyMock
 import org.junit.Assert._


Mime
View raw message