=remote Clean up unused field.

This commit is contained in:
He-Pin 2023-09-09 12:56:09 +08:00 committed by kerr
parent e9ab2cc486
commit d0099a1b5c

View file

@ -14,7 +14,7 @@
package org.apache.pekko.remote.transport.netty
import java.net.{ InetAddress, InetSocketAddress, SocketAddress }
import java.util.concurrent.{ CancellationException, ConcurrentHashMap, Executors }
import java.util.concurrent.{ CancellationException, Executors }
import java.util.concurrent.atomic.AtomicInteger
import scala.annotation.nowarn
@ -358,11 +358,6 @@ class NettyTransport(val settings: NettyTransportSettings, val system: ExtendedA
private val log = Logging.withMarker(system, classOf[NettyTransport])
/**
* INTERNAL API
*/
private[netty] final val udpConnectionTable = new ConcurrentHashMap[SocketAddress, HandleEventListener]()
private def createExecutorService() =
UseDispatcherForIo.map(system.dispatchers.lookup).getOrElse(Executors.newCachedThreadPool(system.threadFactory))