Enable Jackson for 2.13 (#27136)

* Enable jackson for 2.13

* Fix 2.13 warnings in jackson module
This commit is contained in:
Christopher Batey 2019-06-13 16:17:04 +01:00 committed by GitHub
parent 893bd8b74b
commit 6e93bef605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 30 deletions

View file

@ -369,8 +369,8 @@ abstract class JacksonSerializerSpec(serializerName: String)
def serializerFor(obj: AnyRef, sys: ActorSystem = system): JacksonSerializer =
serialization(sys).findSerializerFor(obj) match {
case serializer: JacksonSerializer serializer
case s
case serializer: JacksonSerializer => serializer
case s =>
throw new IllegalStateException(s"Wrong serializer ${s.getClass} for ${obj.getClass}")
}