Fixed casting issues

master
Robinson 2023-02-20 22:59:52 +01:00
parent bb820b03b4
commit 1fd9cdd405
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 2 additions and 3 deletions

View File

@ -203,7 +203,7 @@ class AeronClientServer {
configuration.maxConnectionsPerIpAddress = 50
val server: Server<*> = Server<Connection>(configuration)
val server = Server<Connection>(configuration)
// we must always make sure that aeron is shut-down before starting again.
while (server.isRunning()) {
@ -245,7 +245,6 @@ class AeronClientServer {
server.bind()
@Suppress("UNCHECKED_CAST")
return server as Server<Connection>
return server
}
}