changeset 17082:e78da9db6299 jdk-9+168

8179512: Typo in HttpURLConnection documentation Reviewed-by: chegar
author msheppar
date Tue, 02 May 2017 15:50:46 +0100
parents e91c7b2a4481
children 8bfab0e73164 06c0fc35adcf
files src/java.base/share/classes/java/net/HttpURLConnection.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 15:50:46 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>