Repository: commons-numbers
Updated Branches:
  refs/heads/master af7b1d214 -> e06534c83


Javadoc, declaration order.


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

Branch: refs/heads/master
Commit: e06534c83e29d1ac47789860d2365ef3ff57e922
Parents: af7b1d2
Author: Gilles Sadowski <gil...@harfang.homelinux.org>
Authored: Wed Feb 14 18:30:29 2018 +0100
Committer: Gilles Sadowski <gil...@harfang.homelinux.org>
Committed: Wed Feb 14 18:30:29 2018 +0100

----------------------------------------------------------------------
 .../apache/commons/numbers/complex/Complex.java  | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/e06534c8/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 fe07621..cfc9625 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
@@ -45,22 +45,19 @@ import org.apache.commons.numbers.core.Precision;
  *
  */
 public class Complex implements Serializable  {
-    /** The square root of -1. A number representing "0.0 + 1.0i" */
-    public static final Complex I = new Complex(0, 1);
-    // CHECKSTYLE: stop ConstantName
-    /** A complex number representing "NaN + NaNi" */
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 20180201L;
+    /** A complex number representing "NaN + NaN i" */
     private static final Complex NAN = new Complex(Double.NaN, Double.NaN);
-    // CHECKSTYLE: resume ConstantName
-    /** A complex number representing "+INF + INFi" */
+    /** The square root of -1, a.k.a. "i". */
+    public static final Complex I = new Complex(0, 1);
+    /** A complex number representing "+INF + INF i" */
     public static final Complex INF = new Complex(Double.POSITIVE_INFINITY, 
Double.POSITIVE_INFINITY);
-    /** A complex number representing "1.0 + 0.0i" */
+    /** A complex number representing one. */
     public static final Complex ONE = new Complex(1, 0);
-    /** A complex number representing "0.0 + 0.0i" */
+    /** A complex number representing zero. */
     public static final Complex ZERO = new Complex(0, 0);
 
-    /** Serializable version identifier */
-    private static final long serialVersionUID = 20180201L;
-
     /** The imaginary part. */
     private final double imaginary;
     /** The real part. */

Reply via email to