RFR: JDK-8179512 - Typo in HttpURLConnection documentation
Chris Hegarty
chris.hegarty at oracle.com
Tue May 2 13:53:23 UTC 2017
Mark,
The change looks ok to me.
-Chris.
On 02/05/17 14:51, Mark Sheppard wrote:
> Hi
> please oblige and review the minor change, to javadoc of
> HttpURLConnection, below
>
> which addresses the punctuation correction requested
> in
> https://bugs.openjdk.java.net/browse/JDK-8179512
>
> regards
> Mark
>
> bash-4.1$ hg diff
> src/java.base/share/classes/java/net/HttpURLConnection.java
> diff -r e91c7b2a4481
> src/java.base/share/classes/java/net/HttpURLConnection.java
> --- a/src/java.base/share/classes/java/net/HttpURLConnection.java Fri
> Apr 28 12:22:53 2017 -0700
> +++ b/src/java.base/share/classes/java/net/HttpURLConnection.java Tue
> May 02 14:42:36 2017 +0100
> @@ -54,7 +54,7 @@
> * <b>Security permissions</b>
> * <p>
> * If a security manager is installed, and if a method is called which
> results in an
> - * attempt to open a connection, the caller must possess either:-
> + * attempt to open a connection, the caller must possess either:
> * <ul><li>a "connect" {@link SocketPermission} to the host/port
> combination of the
> * destination URL or</li>
> * <li>a {@link URLPermission} that permits this request.</li>
>
More information about the net-dev
mailing list