From 028c9ec70c0f4cca03500143dacb4b160b40d7dd Mon Sep 17 00:00:00 2001 From: Allon Mureinik Date: Fri, 8 Feb 2019 19:24:03 +0200 Subject: [PATCH] Remove unused generic argument from Functions#tryWithResources --- src/main/java/org/apache/commons/lang3/Functions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/Functions.java b/src/main/java/org/apache/commons/lang3/Functions.java index cff1279f7..715eaa6ed 100644 --- a/src/main/java/org/apache/commons/lang3/Functions.java +++ b/src/main/java/org/apache/commons/lang3/Functions.java @@ -278,7 +278,7 @@ public class Functions { * @see #tryWithResources(FailableRunnable, FailableRunnable...) */ @SafeVarargs - public static void tryWithResources(FailableRunnable pAction, + public static void tryWithResources(FailableRunnable pAction, FailableConsumer pErrorHandler, FailableRunnable... pResources) { final FailableConsumer errorHandler; @@ -340,7 +340,7 @@ public class Functions { * @see #tryWithResources(FailableRunnable, FailableConsumer, FailableRunnable...) */ @SafeVarargs - public static void tryWithResources(FailableRunnable pAction, + public static void tryWithResources(FailableRunnable pAction, FailableRunnable... pResources) { tryWithResources(pAction, null, pResources); }