RFR: 8263233: Update java.net and java.nio to use instanceof pattern variable [v2]
Patrick Concannon
pconcannon at openjdk.java.net
Tue Mar 9 18:17:10 UTC 2021
On Tue, 9 Mar 2021 12:44:10 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Patrick Concannon has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8263233: Small refactor of equals method in java/net/InterfaceAddress; removed superfluous whitespace in java/net/Inet6Address
>
> src/java.base/share/classes/java/net/Inet6Address.java line 265:
>
>> 263:
>> 264: public boolean equals(Object o) {
>> 265: if (! (o instanceof Inet6AddressHolder that)) {
>
> There's a spurious space after "!" can be probably be fixed while you are on that line.
Can do. I've removed the space in commit eca9095
-------------
PR: https://git.openjdk.java.net/jdk/pull/2890
More information about the net-dev
mailing list