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 96d7d49f336a1ce561aae1803616c7a561acbeb5 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Feb 7 10:21:15 2021 -0500 No need to abbreviate local var name. --- src/main/java/org/apache/commons/lang3/function/Objects.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/function/Objects.java b/src/main/java/org/apache/commons/lang3/function/Objects.java index b42e65e..f172c8d 100755 --- a/src/main/java/org/apache/commons/lang3/function/Objects.java +++ b/src/main/java/org/apache/commons/lang3/function/Objects.java @@ -156,10 +156,10 @@ public class Objects { */ public static <T, E extends Throwable> @Nonnull T requireNonNull(@Nullable T value, @Nonnull FailableSupplier<T, E> defaultValueSupplier) { if (value == null) { - final FailableSupplier<T, ?> supp = requireNonNull(defaultValueSupplier, "The supplier must not be null"); + final FailableSupplier<T, ?> supplier = requireNonNull(defaultValueSupplier, "The supplier must not be null"); final T o; try { - o = supp.get(); + o = supplier.get(); } catch (Throwable t) { throw Failable.rethrow(t); }