Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f3e3193

Browse files
committed
Correct method name in Javadoc.
1 parent 78feae4 commit f3e3193

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)

AltStyle によって変換されたページ (->オリジナル) /