Re: 8241995: Clarify InetSocketAddress::toString specification

2021-02-02 Thread Julia Boes
: Chris Hegarty , OpenJDK Network Dev list Subject: Re: 8241995: Clarify InetSocketAddress::toString specification Hello Chris, I missed this thread previously. This suggested change to the javadoc looks good to me and the example now makes it clear on what to expect. As for the last paragraph of

Re: 8241995: Clarify InetSocketAddress::toString specification

2021-02-02 Thread Jaikiran Pai
Hello Chris, I missed this thread previously. This suggested change to the javadoc looks good to me and the example now makes it clear on what to expect. As for the last paragraph of the javadoc, I'm just adding to the suggestions already made by others in this thread. Perhaps the following

Re: 8241995: Clarify InetSocketAddress::toString specification

2020-04-14 Thread Daniel Fuchs
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 represen

Re: 8241995: Clarify InetSocketAddress::toString specification

2020-04-14 Thread Michael McMahon
On 03/04/2020 21:39, mark sheppard 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 represent

Re: 8241995: Clarify InetSocketAddress::toString specification

2020-04-03 Thread mark sheppard
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. or It is advised to use {@link#getHo