RFR: 8253053: Javadoc clean up in Authenticator and BasicAuthenicator [v2]

Patrick Concannon pconcannon at openjdk.java.net
Tue Sep 22 16:20:18 UTC 2020


On Tue, 22 Sep 2020 15:56:57 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Patrick Concannon has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8253053: fixed typos; added tags
>
> src/jdk.httpserver/share/classes/com/sun/net/httpserver/Authenticator.java line 131:
> 
>> 129:
>> 130:         /**
>> 131:          * returns the response code to send to the client
> 
> `* Returns the response code to send to the client.`

Change made in https://github.com/openjdk/jdk/pull/301/commits/604ea45ca36c8fb0cb195c581f822dc5ae1c23c1

> src/jdk.httpserver/share/classes/com/sun/net/httpserver/Authenticator.java line 99:
> 
>> 97:         }
>> 98:         /**
>> 99:          * returns the authenticated user Principal
> 
> `* Returns the authenticated user {@code Principal}.`

Change made in https://github.com/openjdk/jdk/pull/301/commits/604ea45ca36c8fb0cb195c581f822dc5ae1c23c1

> src/jdk.httpserver/share/classes/com/sun/net/httpserver/Authenticator.java line 73:
> 
>> 71:
>> 72:         /**
>> 73:          * returns the response code to send to the client
> 
> I'd prefer to make this a full sentence:
> `* Returns the response code to send to the client.`

Change made in https://github.com/openjdk/jdk/pull/301/commits/604ea45ca36c8fb0cb195c581f822dc5ae1c23c1

-------------

PR: https://git.openjdk.java.net/jdk/pull/301


More information about the net-dev mailing list