On Wed, 14 Oct 2020 18:37:57 GMT, Daniel Fuchs <[email protected]> wrote:
>> Michael McMahon has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> fix white space error
>
> src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java line 717:
>
>> 715: UnixDomainSockets.bind(fd, path);
>> 716: }
>> 717: if (usa == null || path.toString().equals("")) {
>
> Maybe you could replace `path.toString().length() > 0` with
> `!path.toString().isEmpty()` and
> `path.toString().equals("")` with `path.toString().isEmpty()`.
Done
-------------
PR: https://git.openjdk.java.net/jdk/pull/52