From 3a56f6a6b28f06ad5282c94081993e63c268da05 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 1 Feb 2019 14:51:01 -0800 Subject: [PATCH] adapt to upcoming change in Scala 2.13 `a b()` is no longer accepted --- .../com/fasterxml/jackson/module/scala/JacksonModule.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/fasterxml/jackson/module/scala/JacksonModule.scala b/src/main/scala/com/fasterxml/jackson/module/scala/JacksonModule.scala index 0032c75b9..58493a9df 100644 --- a/src/main/scala/com/fasterxml/jackson/module/scala/JacksonModule.scala +++ b/src/main/scala/com/fasterxml/jackson/module/scala/JacksonModule.scala @@ -61,7 +61,7 @@ trait JacksonModule extends Module { throw new JsonMappingException(null, databindVersionError) } - initializers result() foreach (_ apply context) + initializers.result.foreach(_ apply context) } protected def +=(init: SetupContext => Unit): this.type = { initializers += init; this }