mbaedke commented on code in PR #2323: URL: https://github.com/apache/jackrabbit-oak/pull/2323#discussion_r2137579412
########## oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/tool/DebugTars.java: ########## @@ -252,12 +252,7 @@ private String displayString(String value) { value = value.substring(0, maxCharDisplay) + "... (" + value.length() + " chars)"; } - String escaped = Escapers.builder() - .setSafeRange(' ', '~') - .addEscape('"', "\\\"") - .addEscape('\\', "\\\\") - .build() - .escape(value); + String escaped = StringEscapeUtils.ESCAPE_JAVA.translate(value); Review Comment: same as above -- 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: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org