This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
commit e47e31ddcd394372dec26ba8da556b16be1a2bf0 Author: aherbert <[email protected]> AuthorDate: Fri Nov 8 18:45:23 2019 +0000 Suppression of ConstantName is in the global checkstyle configuration. --- .../org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java | 2 -- .../test/java/org/apache/commons/numbers/complex/CStandardTest.java | 2 -- .../src/test/java/org/apache/commons/numbers/complex/ComplexTest.java | 2 -- .../java/org/apache/commons/numbers/fraction/CommonTestCases.java | 4 ---- 4 files changed, 10 deletions(-) diff --git a/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java b/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java index 07b7a88..cd31e1f 100644 --- a/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java +++ b/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java @@ -27,7 +27,6 @@ import org.junit.jupiter.api.Test; */ public class ComplexUtilsTest { - // CHECKSTYLE: stop ConstantName private static final double inf = Double.POSITIVE_INFINITY; private static final double negInf = Double.NEGATIVE_INFINITY; private static final double nan = Double.NaN; @@ -66,7 +65,6 @@ public class ComplexUtilsTest { private static float[][][] fi3d0, fi3d1, fi3d2, sfr3d, sfi3d; private static float[][][][] sfr4d, sfi4d; // CHECKSTYLE: resume MultipleVariableDeclarations - // CHECKSTYLE: resume ConstantName // CHECKSTYLE: stop MethodLength private static void setArrays() { // initial setup method diff --git a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/CStandardTest.java b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/CStandardTest.java index 4a8fe97..269ab74 100644 --- a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/CStandardTest.java +++ b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/CStandardTest.java @@ -36,7 +36,6 @@ import java.util.function.Predicate; */ public class CStandardTest { - // CHECKSTYLE: stop ConstantName private static final double inf = Double.POSITIVE_INFINITY; private static final double negInf = Double.NEGATIVE_INFINITY; private static final double nan = Double.NaN; @@ -82,7 +81,6 @@ public class CStandardTest { private static final Complex maxMax = complex(max, max); private static final Complex maxNan = complex(max, nan); private static final Complex nanMax = complex(nan, max); - // CHECKSTYLE: resume ConstantName /** * Assert the two complex numbers have their real and imaginary components within diff --git a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java index 8078da8..e28b1ce 100644 --- a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java +++ b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java @@ -30,7 +30,6 @@ import org.junit.jupiter.api.Test; */ public class ComplexTest { - // CHECKSTYLE: stop ConstantName private static final double inf = Double.POSITIVE_INFINITY; private static final double neginf = Double.NEGATIVE_INFINITY; private static final double nan = Double.NaN; @@ -55,7 +54,6 @@ public class ComplexTest { private static final Complex nanZero = Complex.ofCartesian(nan, 0); private static final Complex NAN = Complex.ofCartesian(nan, nan); private static final Complex INF = Complex.ofCartesian(inf, inf); - // CHECKSTYLE: resume ConstantName /** * Used to test the number category of a Complex. diff --git a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/CommonTestCases.java b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/CommonTestCases.java index 193da38..3e23798 100644 --- a/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/CommonTestCases.java +++ b/commons-numbers-fraction/src/test/java/org/apache/commons/numbers/fraction/CommonTestCases.java @@ -27,8 +27,6 @@ import java.util.List; */ final class CommonTestCases { - // CHECKSTYLE: stop ConstantName - /** * See {@link #numDenConstructorTestCases()} */ @@ -74,8 +72,6 @@ final class CommonTestCases { */ private static final List<BinaryOperatorTestCase> subtractFractionTestCasesList; - // CHECKSTYLE: resume ConstantName - static { numDenConstructorTestCasesList = collectNumDenConstructorTestCases(); doubleConstructorTestCasesList = collectDoubleConstructorTestCases();
