RFR: JDK-8179512 - Typo in HttpURLConnection documentation

Mark Sheppard mark.sheppard at oracle.com
Tue May 2 13:51:27 UTC 2017


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