提交 01e8a349 编写于 作者: D darcy

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

Reviewed-by: alanb
上级 5c23579a
...@@ -269,7 +269,7 @@ public final class Objects { ...@@ -269,7 +269,7 @@ public final class Objects {
* Checks that the specified object reference is not {@code null} and * Checks that the specified object reference is not {@code null} and
* throws a customized {@link NullPointerException} if it is. * 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 * this method allows creation of the message to be deferred until
* after the null check is made. While this may confer a * after the null check is made. While this may confer a
* performance advantage in the non-null case, when deciding to * performance advantage in the non-null case, when deciding to
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册