kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject [kafka] branch trunk updated: MINOR: Fixed compiler warnings in LogManagerTest (#6897)
Date Fri, 07 Jun 2019 00:32:30 GMT
This is an automated email from the ASF dual-hosted git repository.

guozhang 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 72c3b88  MINOR: Fixed compiler warnings in LogManagerTest (#6897)
72c3b88 is described below

commit 72c3b88ed5066d71eac7be393b94e1f64b631b1f
Author: Boyang Chen <boyang@confluent.io>
AuthorDate: Thu Jun 6 17:32:13 2019 -0700

    MINOR: Fixed compiler warnings in LogManagerTest (#6897)
    
    Reviewers: Jason Gustafson <jason@confluent.io>, Guozhang Wang <wangguoz@gmail.com>
---
 core/src/test/scala/unit/kafka/log/LogManagerTest.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/test/scala/unit/kafka/log/LogManagerTest.scala b/core/src/test/scala/unit/kafka/log/LogManagerTest.scala
index 3df09e7..ed1824d 100755
--- a/core/src/test/scala/unit/kafka/log/LogManagerTest.scala
+++ b/core/src/test/scala/unit/kafka/log/LogManagerTest.scala
@@ -382,8 +382,8 @@ class LogManagerTest {
 
   @Test
   def testCreateAndDeleteOverlyLongTopic(): Unit = {
-    val invalidTopicName = String.join("", Collections.nCopies(253, "x"));
-    val log = logManager.getOrCreateLog(new TopicPartition(invalidTopicName, 0), logConfig)
+    val invalidTopicName = String.join("", Collections.nCopies(253, "x"))
+    logManager.getOrCreateLog(new TopicPartition(invalidTopicName, 0), logConfig)
     logManager.asyncDelete(new TopicPartition(invalidTopicName, 0))
   }
 


Mime
View raw message