diff --git a/src/main/java/org/apache/commons/lang3/function/Failable.java b/src/main/java/org/apache/commons/lang3/function/Failable.java index 1017146b0..d33e9ee91 100644 --- a/src/main/java/org/apache/commons/lang3/function/Failable.java +++ b/src/main/java/org/apache/commons/lang3/function/Failable.java @@ -463,7 +463,7 @@ public class Failable { */ public static boolean test(final FailableBiPredicate predicate, final O1 object1, final O2 object2) { - return get(() -> predicate.test(object1, object2)); + return getAsBoolean(() -> predicate.test(object1, object2)); } /** @@ -476,7 +476,7 @@ public class Failable { * @return the boolean value returned by the predicate */ public static boolean test(final FailablePredicate predicate, final O object) { - return get(() -> predicate.test(object)); + return getAsBoolean(() -> predicate.test(object)); } /**