Remove useless parentheses.

This commit is contained in:
Gary Gregory 2021-11-12 15:29:23 -05:00
parent 6dc8492caf
commit 03b84cb349
1 changed files with 8 additions and 8 deletions

View File

@ -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;
}
}