changeset 7139:bad8f5237f10

8014677: Correct docs warning for Objects.requireNonNull(T, Supplier<String>) Reviewed-by: alanb
author darcy
date Wed, 15 May 2013 09:54:30 -0700
parents ef04044f77d2
children 3d9f25dc630c
files src/share/classes/java/util/Objects.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/Objects.java	Wed May 15 07:48:57 2013 -0700
+++ b/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