compiler warnings

This commit is contained in:
Robinson 2022-07-12 22:21:59 -04:00
parent 3a43dea3ad
commit 5b8268b2ea
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -227,12 +227,11 @@ internal constructor(val type: Class<*>,
abstract fun newException(message: String, cause: Throwable? = null): Throwable
// used internally to remove a connection. Will also remove all proxy objects
@Suppress("UNCHECKED_CAST")
internal fun removeConnection(connection: Connection) {
connection as CONNECTION
rmiConnectionSupport.close(connection)
@Suppress("UNCHECKED_CAST")
removeConnection(connection)
}
@ -712,7 +711,7 @@ internal constructor(val type: Class<*>,
/**
* @return the current aeron context info, if any
*/
fun contextInfo(): String? {
fun contextInfo(): String {
return aeronDriver.contextInfo()
}