mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Fix compilation error following merge from ENT master
This commit is contained in:
parent
c72b33841b
commit
2842205c30
@ -48,7 +48,7 @@ private object KryoVerifierSerializationScheme : AbstractKryoSerializationScheme
|
|||||||
override fun rpcServerKryoPool(context: SerializationContext) = throw UnsupportedOperationException()
|
override fun rpcServerKryoPool(context: SerializationContext) = throw UnsupportedOperationException()
|
||||||
}
|
}
|
||||||
|
|
||||||
private object AMQPVerifierSerializationScheme : AbstractAMQPSerializationScheme() {
|
private object AMQPVerifierSerializationScheme : AbstractAMQPSerializationScheme(emptyList()) {
|
||||||
override fun canDeserializeVersion(byteSequence: ByteSequence, target: SerializationContext.UseCase): Boolean {
|
override fun canDeserializeVersion(byteSequence: ByteSequence, target: SerializationContext.UseCase): Boolean {
|
||||||
return (byteSequence == AmqpHeaderV1_0 && (target == SerializationContext.UseCase.P2P))
|
return (byteSequence == AmqpHeaderV1_0 && (target == SerializationContext.UseCase.P2P))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user