Skip to content

Commit

Permalink
Minor cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLennox committed Oct 21, 2024
1 parent f752308 commit 0950c10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/org/ice4j/socket/SocketPool.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import java.net.DatagramSocket
import java.net.DatagramSocketImpl
import java.net.SocketAddress
import java.nio.channels.DatagramChannel
import java.util.concurrent.atomic.AtomicInteger

/** A pool of datagram sockets all bound on the same port.
*
Expand Down Expand Up @@ -48,7 +47,7 @@ class SocketPool(
require(requestedNumSockets >= 0) { "RequestedNumSockets must be >= 0" }
}

internal data class SocketAndIndex(
internal class SocketAndIndex(
val socket: DatagramSocket,
var count: Int = 0
)
Expand Down

0 comments on commit 0950c10

Please sign in to comment.