diff --git a/util-jackson/src/main/scala/com/twitter/util/jackson/ScalaObjectMapper.scala b/util-jackson/src/main/scala/com/twitter/util/jackson/ScalaObjectMapper.scala index 3925995598..496122b164 100644 --- a/util-jackson/src/main/scala/com/twitter/util/jackson/ScalaObjectMapper.scala +++ b/util-jackson/src/main/scala/com/twitter/util/jackson/ScalaObjectMapper.scala @@ -412,7 +412,7 @@ object ScalaObjectMapper { private[jackson] object ArrayElementsOnNewLinesPrettyPrinter extends DefaultPrettyPrinter { _arrayIndenter = DefaultIndenter.SYSTEM_LINEFEED_INSTANCE - override def createInstance(): DefaultPrettyPrinter = this + override def createInstance(): DefaultPrettyPrinter = new DefaultPrettyPrinter(this) } /**