This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 35cc96c751b3822741b1e92005ff89a7a9eb56d6 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed May 29 16:21:05 2024 -0400 Javadoc --- src/main/java/org/apache/commons/lang3/function/Consumers.java | 8 ++++---- src/main/java/org/apache/commons/lang3/function/Functions.java | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/function/Consumers.java b/src/main/java/org/apache/commons/lang3/function/Consumers.java index 0fa880c6b..30575fb9d 100644 --- a/src/main/java/org/apache/commons/lang3/function/Consumers.java +++ b/src/main/java/org/apache/commons/lang3/function/Consumers.java @@ -32,12 +32,12 @@ public class Consumers { private static final Consumer NOP = Function.identity()::apply; /** - * Applies the given {@link Consumer} action to the object if the consumer is not {@code null}. Otherwise, does - * nothing. + * Applies the given {@link Consumer} action to the object if the consumer is not {@code null}. Otherwise, does nothing. + * * @param consumer the consumer to consume. - * @param object the object to be consumed. + * @param object the object to be consumed. * - * @param <T> the type of the argument the consumer accepts. + * @param <T> the type of the argument the consumer accepts. * @since 3.15.0 */ public static <T> void accept(final Consumer<T> consumer, final T object) { diff --git a/src/main/java/org/apache/commons/lang3/function/Functions.java b/src/main/java/org/apache/commons/lang3/function/Functions.java index 707fb93bf..1f4072bfc 100644 --- a/src/main/java/org/apache/commons/lang3/function/Functions.java +++ b/src/main/java/org/apache/commons/lang3/function/Functions.java @@ -27,13 +27,13 @@ import java.util.function.Function; public final class Functions { /** - * Applies the {@link Function} on the object if the function is not {@code null}. Otherwise, does nothing and - * returns {@code null}. + * Applies the {@link Function} on the object if the function is not {@code null}. Otherwise, does nothing and returns {@code null}. + * * @param function the function to apply. - * @param object the object to apply the function. + * @param object the object to apply the function. * - * @param <T> the type of the argument the function applies. - * @param <R> the type of the result the function returns. + * @param <T> the type of the argument the function applies. + * @param <R> the type of the result the function returns. * @return the value the function returns if the function is not {@code null}; {@code null} otherwise. * @since 3.15.0 */