Fix compilation error following merge from ENT master

This commit is contained in:
josecoll 2017-12-12 18:21:35 +00:00
parent c72b33841b
commit 2842205c30

View File

@ -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))
} }