8014677: Correct docs warning for Objects.requireNonNull(T, Supplier<String>)
authordarcy
Wed, 15 May 2013 09:54:30 -0700
changeset 17475 24f8cffd7390
parent 17474 8c100beabcc0
child 17476 6a5362307fc3
8014677: Correct docs warning for Objects.requireNonNull(T, Supplier<String>) Reviewed-by: alanb
jdk/src/share/classes/java/util/Objects.java
--- a/jdk/src/share/classes/java/util/Objects.java	Wed May 15 07:48:57 2013 -0700
+++ b/jdk/src/share/classes/java/util/Objects.java	Wed May 15 09:54:30 2013 -0700
@@ -269,7 +269,7 @@
      * Checks that the specified object reference is not {@code null} and
      * throws a customized {@link NullPointerException} if it is.
      *
-     * <p>Unlike the method {@link requireNonNull(Object, String},
+     * <p>Unlike the method {@link #requireNonNull(Object, String)},
      * this method allows creation of the message to be deferred until
      * after the null check is made. While this may confer a
      * performance advantage in the non-null case, when deciding to