From 03b84cb3492938980b31d8cf15fdc6aeb553d063 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 12 Nov 2021 15:29:23 -0500 Subject: [PATCH] Remove useless parentheses. --- .../lang3/function/FailableFunctionsTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java b/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java index 0d57ab2f9..2b07e38f5 100644 --- a/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java +++ b/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java @@ -236,42 +236,42 @@ public class FailableFunctionsTest { public void testDouble(final double i) throws Throwable { test(throwable); - acceptedPrimitiveObject1 = (P) ((Double) i); + acceptedPrimitiveObject1 = (P) (Double) i; } public double testDoubleDouble(final double i, final double j) throws Throwable { test(throwable); - acceptedPrimitiveObject1 = (P) ((Double) i); - acceptedPrimitiveObject2 = (P) ((Double) j); + acceptedPrimitiveObject1 = (P) (Double) i; + acceptedPrimitiveObject2 = (P) (Double) j; return 3d; } public void testInt(final int i) throws Throwable { test(throwable); - acceptedPrimitiveObject1 = (P) ((Integer) i); + acceptedPrimitiveObject1 = (P) (Integer) i; } public void testLong(final long i) throws Throwable { test(throwable); - acceptedPrimitiveObject1 = (P) ((Long) i); + acceptedPrimitiveObject1 = (P) (Long) i; } public void testObjDouble(final T object, final double i) throws Throwable { test(throwable); acceptedObject = object; - acceptedPrimitiveObject1 = (P) ((Double) i); + acceptedPrimitiveObject1 = (P) (Double) i; } public void testObjInt(final T object, final int i) throws Throwable { test(throwable); acceptedObject = object; - acceptedPrimitiveObject1 = (P) ((Integer) i); + acceptedPrimitiveObject1 = (P) (Integer) i; } public void testObjLong(final T object, final long i) throws Throwable { test(throwable); acceptedObject = object; - acceptedPrimitiveObject1 = (P) ((Long) i); + acceptedPrimitiveObject1 = (P) (Long) i; } }