--- old/src/java.base/share/classes/java/net/URL.java 2019-01-04 10:01:53.962539680 -0800 +++ new/src/java.base/share/classes/java/net/URL.java 2019-01-04 10:01:53.634539952 -0800 @@ -1026,7 +1026,7 @@ /** * Returns a {@link java.net.URI} equivalent to this URL. - * This method functions in the same way as {@code new URI (this.toString())}. + * This method functions in the same way as {@code new URI(this.toString())}. *

Note, any URL instance that complies with RFC 2396 can be converted * to a URI. However, some URLs that are not strictly in compliance * can not be converted to a URI. @@ -1038,7 +1038,7 @@ * @since 1.5 */ public URI toURI() throws URISyntaxException { - return new URI (toString()); + return new URI(toString()); } /**