Skip to content

Commit 636dfba

Browse files
committed
Correct method name in Javadoc.
1 parent fd1ed9f commit 636dfba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/apache/commons/lang3/ObjectUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ public static boolean anyNotNull(final Object... values) {
238238
* </p>
239239
*
240240
* <pre>
241-
* ObjectUtils.applyIfNonNull(bean::setValue, null) - setValue not invoked
242-
* ObjectUtils.applyIfNonNull(bean::setValue, null, "abc", "def") - setValue invoked with "abc"
243-
* ObjectUtils.applyIfNonNull(v -&gt; bean.setValue(v), "abc") - setValue invoked with "abc"
241+
* ObjectUtils.applyFirstNonNull(bean::setValue, null) - setValue not invoked
242+
* ObjectUtils.applyFirstNonNull(bean::setValue, null, "abc", "def") - setValue invoked with "abc"
243+
* ObjectUtils.applyFirstNonNull(v -&gt; bean.setValue(v), "abc") - setValue invoked with "abc"
244244
* </pre>
245245
*
246246
* @param <T> the type of the object

0 commit comments

Comments
 (0)