You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/12/20 17:58:02 UTC

[commons-numbers] 11/30: Removed unused constants

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 1d20e9fa8ad6cd6b416fba8e4091cd2f992d4445
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Dec 19 16:57:58 2019 +0000

    Removed unused constants
---
 .../test/java/org/apache/commons/numbers/complex/ComplexTest.java    | 5 -----
 1 file changed, 5 deletions(-)

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 3a0adce..ec395e2 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
@@ -42,19 +42,14 @@ public class ComplexTest {
     private static final Complex infOne = Complex.ofCartesian(inf, 1);
     private static final Complex infZero = Complex.ofCartesian(inf, 0);
     private static final Complex infNegZero = Complex.ofCartesian(inf, -0.0);
-    private static final Complex infNan = Complex.ofCartesian(inf, nan);
     private static final Complex infNegInf = Complex.ofCartesian(inf, neginf);
     private static final Complex infInf = Complex.ofCartesian(inf, inf);
     private static final Complex negInfInf = Complex.ofCartesian(neginf, inf);
-    private static final Complex negInfZero = Complex.ofCartesian(neginf, 0);
     private static final Complex negInfOne = Complex.ofCartesian(neginf, 1);
-    private static final Complex negInfNan = Complex.ofCartesian(neginf, nan);
     private static final Complex negInfNegInf = Complex.ofCartesian(neginf, neginf);
     private static final Complex oneNan = Complex.ofCartesian(1, nan);
     private static final Complex zeroInf = Complex.ofCartesian(0, inf);
     private static final Complex zeroNan = Complex.ofCartesian(0, nan);
-    private static final Complex nanInf = Complex.ofCartesian(nan, inf);
-    private static final Complex nanNegInf = Complex.ofCartesian(nan, neginf);
     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);