--- a/src/java.base/share/classes/java/net/URL.java Tue Nov 13 11:45:16 2018 +0100
+++ b/src/java.base/share/classes/java/net/URL.java Tue Nov 13 12:24:34 2018 +0000
@@ -1009,7 +1009,7 @@
* can not be converted to a URI.
*
* @exception URISyntaxException if this URL is not formatted strictly according to
- * to RFC2396 and cannot be converted to a URI.
+ * RFC2396 and cannot be converted to a URI.
*
* @return a URI instance equivalent to this URL.
* @since 1.5
@@ -1054,7 +1054,7 @@
/**
* Same as {@link #openConnection()}, except that the connection will be
* made through the specified proxy; Protocol handlers that do not
- * support proxing will ignore the proxy parameter and make a
+ * support proxying will ignore the proxy parameter and make a
* normal connection.
*
* Invoking this method preempts the system's default