From 0fd1da5bdb92bf31b7dd4ec3981924c5f68dbef4 Mon Sep 17 00:00:00 2001 From: XenoAmess Date: Wed, 26 Aug 2020 04:36:46 +0800 Subject: [PATCH] fix checkstyles --- .../org/apache/commons/numbers/fraction/BigFractionTest.java | 2 +- .../java/org/apache/commons/numbers/fraction/FractionTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/BigFractionTest.java b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/BigFractionTest.java index fd2fbd719..f6c147f4e 100644 --- a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/BigFractionTest.java +++ b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/BigFractionTest.java @@ -787,6 +787,6 @@ void testNumbers150() { // shall overflow Assertions.assertThrows(ArithmeticException.class, () -> BigFraction.of(2).pow(Integer.MIN_VALUE)); - Assertions.assertThrows(ArithmeticException.class, () -> BigFraction.of(1 , 2).pow(Integer.MIN_VALUE)); + Assertions.assertThrows(ArithmeticException.class, () -> BigFraction.of(1, 2).pow(Integer.MIN_VALUE)); } } diff --git a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java index 9bf1370d4..8b5506d0e 100644 --- a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java +++ b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/FractionTest.java @@ -630,7 +630,7 @@ void testNumbers150() { // shall overflow Assertions.assertThrows(ArithmeticException.class, () -> Fraction.of(2).pow(Integer.MIN_VALUE)); - Assertions.assertThrows(ArithmeticException.class, () -> Fraction.of(1 , 2).pow(Integer.MIN_VALUE)); + Assertions.assertThrows(ArithmeticException.class, () -> Fraction.of(1, 2).pow(Integer.MIN_VALUE)); } /**