8059450: Not quite correct code sample in javadoc
authorigerasim
Wed, 01 Oct 2014 23:10:34 +0400
changeset 26875 c6c5d6a2765e
parent 26874 5ff3fbb88d3c
child 26876 21d3cc221213
8059450: Not quite correct code sample in javadoc Reviewed-by: chegar
jdk/src/java.base/share/classes/java/net/URI.java
--- a/jdk/src/java.base/share/classes/java/net/URI.java	Wed Oct 01 18:16:45 2014 +0200
+++ b/jdk/src/java.base/share/classes/java/net/URI.java	Wed Oct 01 23:10:34 2014 +0400
@@ -397,7 +397,7 @@
  * in all cases,
  * <pre>
  *     new URI(<i>u</i>.getScheme(),
- *             <i>u</i>.getUserInfo(), <i>u</i>.getAuthority(),
+ *             <i>u</i>.getAuthority(),
  *             <i>u</i>.getPath(), <i>u</i>.getQuery(),
  *             <i>u</i>.getFragment())
  *     .equals(<i>u</i>)</pre>