--- old/src/java.base/share/classes/java/net/URL.java 2018-11-12 23:37:04.000000000 +0000 +++ new/src/java.base/share/classes/java/net/URL.java 2018-11-12 23:37:04.000000000 +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