You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2020/03/01 08:17:58 UTC
[GitHub] [incubator-daffodil] gezapeti commented on a change in pull request
#328: DAFFODIL-2288 bump jackson version to 2.10.2
gezapeti commented on a change in pull request #328: DAFFODIL-2288 bump jackson version to 2.10.2
URL: https://github.com/apache/incubator-daffodil/pull/328#discussion_r386087115
##########
File path: daffodil-runtime1/src/main/scala/org/apache/daffodil/infoset/JsonInfosetOutputter.scala
##########
@@ -45,7 +45,7 @@ class JsonInfosetOutputter private (writer: java.io.Writer, pretty: Boolean, dum
// is false).
private val isFirstChildStack = MStackOfBoolean()
- private val stringEncoder = BufferRecyclers.getJsonStringEncoder() // thread-safe instance of a string encoder
+ private val stringEncoder = JsonStringEncoder.getInstance()
Review comment:
Based on changes in Jackson, the JsonStringEncoder is thread safe after 2.10.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services