From 96d7d49f336a1ce561aae1803616c7a561acbeb5 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 7 Feb 2021 10:21:15 -0500 Subject: [PATCH] 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 b42e65e32..f172c8d81 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 @Nonnull T requireNonNull(@Nullable T value, @Nonnull FailableSupplier defaultValueSupplier) { if (value == null) { - final FailableSupplier supp = requireNonNull(defaultValueSupplier, "The supplier must not be null"); + final FailableSupplier 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); }