mirror of
https://github.com/corda/corda.git
synced 2025-03-19 18:45:28 +00:00
Remove comment
This commit is contained in:
parent
b835de79bd
commit
1fc30fc559
@ -66,8 +66,6 @@ class CustomSerializerCheckpointAdaptor<OBJ, PROXY>(private val userSerializer :
|
||||
*/
|
||||
override fun read(kryo: Kryo, input: Input, type: Class<OBJ>): OBJ {
|
||||
|
||||
// The cast is to an erased type so we can't do better.
|
||||
// This will throw a runtime exception when the type is not as expected so it won't allow the wrong thing to happen.
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
fun <T> readFromKryo() = kryo.readClassAndObject(input) as T
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user