8241995: Clarify InetSocketAddress::toString specification

Daniel Fuchs daniel.fuchs at oracle.com
Tue Apr 14 14:24:00 UTC 2020


On 14/04/2020 15:00, Michael McMahon wrote:
>> Hi Chris,
>>     possible wording for your last paragraph:
>>
>> To retrieve a string representation of the hostname, or in the
>> absence of a hostname, the string form of the address, use {@link
>> #getHostString()}, rather than parsing the toString string representation.
>>
> As above but,
> 
> "rather than parsing the toString string representation"
> 
> maybe instead
> 
> "rather than parsing the String returned from toString"

I like Michael's suggestion. Maybe lower case "the String" ;-)

best regards,

-- daniel




More information about the net-dev mailing list