RFR: 8273243: Fix indentations in java.net.InetAddress methods
Brian Burkhalter
bpb at openjdk.java.net
Wed Sep 1 17:11:12 UTC 2021
On Wed, 1 Sep 2021 16:53:50 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:
> Hi,
>
> The fix changes indentations in the following `java.net.InetAddress` methods:
> - getAddressesFromNameService
> - getHostFromNameService
>
> It helps to improve code readability. Can't say the same about `getHostFromNameService` diffs shown in this PR.
Marked as reviewed by bpb (Reviewer).
src/java.base/share/classes/java/net/InetAddress.java line 689:
> 687: }
> 688:
> 689: //XXX: if it looks a spoof just return the address?
looks _like_ a spoof
-------------
PR: https://git.openjdk.java.net/jdk/pull/5336
More information about the net-dev
mailing list