8014677: Correct docs warning for Objects.requireNonNull(T, Supplier<String>)

Reviewed-by: alanb
This commit is contained in:
Joe Darcy 2013-05-15 09:54:30 -07:00
parent 48fc4f5552
commit 40a5f1f53c

View File

@ -269,7 +269,7 @@ public final class Objects {
* 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