You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2018/02/14 09:04:50 UTC

[1/2] commons-numbers git commit: NUMBERS-60: Javadoc links fixed. Complex.NAN access modifier changed to private.

Repository: commons-numbers
Updated Branches:
  refs/heads/master 58f8953f4 -> 118a2fdd1


NUMBERS-60: Javadoc links fixed. Complex.NAN access modifier changed to
private.

Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/1b5aefaa
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/1b5aefaa
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/1b5aefaa

Branch: refs/heads/master
Commit: 1b5aefaa31ab52b4d0b96beabeced303d833e393
Parents: e291781
Author: Eric Barnhill <er...@apache.org>
Authored: Wed Feb 14 10:03:57 2018 +0100
Committer: Eric Barnhill <er...@apache.org>
Committed: Wed Feb 14 10:03:57 2018 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/commons/numbers/complex/Complex.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/1b5aefaa/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
----------------------------------------------------------------------
diff --git a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
index 4490953..fd73a7f 100644
--- a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
+++ b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
@@ -49,7 +49,7 @@ public class Complex implements Serializable  {
     public static final Complex I = new Complex(0, 1);
     // CHECKSTYLE: stop ConstantName
     /** A complex number representing "NaN + NaNi" */
-    public static final Complex NAN = new Complex(Double.NaN, Double.NaN);
+    private static final Complex NAN = new Complex(Double.NaN, Double.NaN);
     // CHECKSTYLE: resume ConstantName
     /** A complex number representing "+INF + INFi" */
     public static final Complex INF = new Complex(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);
@@ -272,10 +272,10 @@ public class Complex implements Serializable  {
      * {@code Infinite} and {@code NaN} values are handled according to the
      * following rules, applied in the order presented:
      * <ul>
-     *  <li>If {@code divisor} equals {@link #ZERO}, {@link #NaN} is returned.
+     *  <li>If {@code divisor} equals {@link #ZERO}, {@link #NAN} is returned.
      *  </li>
      *  <li>If {@code this} and {@code divisor} are both infinite,
-     *   {@link #NaN} is returned.
+     *   {@link #NAN} is returned.
      *  </li>
      *  <li>If {@code this} is finite (i.e., has no {@code Infinite} or
      *   {@code NaN} parts) and {@code divisor} is infinite (one or both parts


[2/2] commons-numbers git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers

Posted by er...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers


Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/118a2fdd
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/118a2fdd
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/118a2fdd

Branch: refs/heads/master
Commit: 118a2fdd10b0989cd128539f6f2d01f845e07661
Parents: 1b5aefa 58f8953
Author: Eric Barnhill <er...@apache.org>
Authored: Wed Feb 14 10:06:45 2018 +0100
Committer: Eric Barnhill <er...@apache.org>
Committed: Wed Feb 14 10:06:45 2018 +0100

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------