RFR: 8253473: Javadoc clean up in HttpHandler, HttpPrincipal, HttpContext, and HttpsConfigurator

Daniel Fuchs dfuchs at openjdk.java.net
Wed Oct 28 14:47:47 UTC 2020


On Wed, 28 Oct 2020 14:31:22 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Hi,
>> 
>> Could someone please review my doc-only fix for JDK-8253473: 'Javadoc clean up in HttpHandler, HttpPrincipal, HttpContext, and HttpsConfigurator ' ?
>> 
>> This fix is set of formatting changes intended to clean up the javadoc of the following classes :
>> 
>> `com.sun.net.httpserver.HttpHandler`
>> `com.sun.net.httpserver.HttpPrincipal`
>> `com.sun.net.httpserver.HttpContext`
>> `com.sun.net.httpserver.HttpsConfigurator` 
>> 
>> This issue is a sub-task of [JDK-8252822](https://bugs.openjdk.java.net/browse/JDK-8252822)
>> 
>> Kind regards,
>> Patrick
>
> src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpPrincipal.java line 100:
> 
>> 98:     /**
>> 99:      * Returns a hashcode for this {@code HttpPrincipal}. This is calculated
>> 100:      * as <code>(getUsername()+getRealm().hashCode()</code>.
> 
> There is a close parenthesis missing after `getRealm()`

Also `<code></code>` could be replaced with `{@code }`

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

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


More information about the net-dev mailing list