cowtowncoder commented on a change in pull request #1137:
URL: https://github.com/apache/cassandra/pull/1137#discussion_r698660863
##########
File path: src/java/org/apache/cassandra/cql3/Json.java
##########
@@ -42,7 +42,7 @@
*/
public static String quoteAsJsonString(String s)
{
- return new
String(BufferRecyclers.getJsonStringEncoder().quoteAsString(s));
+ return new String(JsonStringEncoder.getInstance().quoteAsString(s));
Review comment:
With 2.12.5 I can revert this change as I added back the method in
question for backwards-compatibility.
Ideally (in future) call will be changed, but it is lower risk doing minimal
change.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]