Amit Jain created OAK-4454:
------------------------------
Summary: Create consistent API in ExternalSort to write and read
escaped line breaks
Key: OAK-4454
URL: https://issues.apache.org/jira/browse/OAK-4454
Project: Jackrabbit Oak
Issue Type: Improvement
Components: commons
Reporter: Amit Jain
Assignee: Amit Jain
Priority: Minor
ExternalSort while sorting uses {{EscapeUtils.unescapeLineBreaks}} to read
lines. It is better if a new API is created with explicit expectations
documented that the File being sorted has been properly escaped with
{{EscapeUtils.escapeLineBreak}}.
Otherwise, it will lead to situations like OAK-4441 where File is not escaped
while writing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)