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

>> 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.

You can use \s instead of space. Then you will have no complaints.

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

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

Reply via email to