mirror of https://github.com/apache/kafka.git
MINOR: Remove unused local variable in SocketServer (#4669)
Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
parent
6a383d8bc4
commit
db619c6da2
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue