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/03/09 15:45:00 UTC

[kafka] branch trunk updated: MINOR: Remove unused local variable in SocketServer (#4669)

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 db619c6  MINOR: Remove unused local variable in SocketServer (#4669)
db619c6 is described below

commit db619c6da2b1f02a4ca321d7a3b91ef47c09a46c
Author: Jimin Hsieh <ji...@gmail.com>
AuthorDate: Fri Mar 9 23:44:57 2018 +0800

    MINOR: Remove unused local variable in SocketServer (#4669)
    
    Reviewers: Ismael Juma <is...@juma.me.uk>
---
 core/src/main/scala/kafka/network/SocketServer.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/kafka/network/SocketServer.scala b/core/src/main/scala/kafka/network/SocketServer.scala
index d37b523..71491f2 100644
--- a/core/src/main/scala/kafka/network/SocketServer.scala
+++ b/core/src/main/scala/kafka/network/SocketServer.scala
@@ -124,7 +124,7 @@ class SocketServer(val config: KafkaConfig, val metrics: Metrics, val time: Time
       val securityProtocol = endpoint.securityProtocol
       val listenerProcessors = new ArrayBuffer[Processor]()
 
-      for (i <- 0 until newProcessorsPerListener) {
+      for (_ <- 0 until newProcessorsPerListener) {
         val processor = newProcessor(nextProcessorId, connectionQuotas, listenerName, securityProtocol, memoryPool)
         listenerProcessors += processor
         requestChannel.addProcessor(processor)

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