On Fri, 29 Apr 2022 10:46:31 GMT, Sibabrata Sahoo <ssa...@openjdk.org> wrote:

>> A new API to support replacing selective lines with desired content.
>
> Sibabrata Sahoo has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   updated to add space character in begining of multiline string

test/jdk/java/nio/file/Files/FileUtilsTest.java line 51:

> 49: c""";
> 50:         // 1st line has a space character
> 51:         String sabc = " " + System.lineSeparator() + abc;

It's strange that jcheck fails, if there is space character in beginning of 
line in a multiline string. So i have to follow this way add a space character 
in the beginning of multiline string.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8360

Reply via email to