Skip to content

Commit

Permalink
Correct method name in Javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
bindul committed Dec 28, 2020
1 parent ce7e4c9 commit e5de898
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/apache/commons/lang3/ObjectUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ public static boolean anyNotNull(final Object... values) {
* </p>
*
* <pre>
* ObjectUtils.applyIfNonNull(bean::setValue, null) - setValue not invoked
* ObjectUtils.applyIfNonNull(bean::setValue, null, "abc", "def") - setValue invoked with "abc"
* ObjectUtils.applyIfNonNull(v -&gt; bean.setValue(v), "abc") - setValue invoked with "abc"
* ObjectUtils.applyFirstNonNull(bean::setValue, null) - setValue not invoked
* ObjectUtils.applyFirstNonNull(bean::setValue, null, "abc", "def") - setValue invoked with "abc"
* ObjectUtils.applyFirstNonNull(v -&gt; bean.setValue(v), "abc") - setValue invoked with "abc"
* </pre>
*
* @param <T> the type of the object
Expand Down

0 comments on commit e5de898

Please sign in to comment.