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/03/18 00:02:28 UTC
[2/7] commons-numbers git commit: Misalignment.
Misalignment.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/ef955b5f
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/ef955b5f
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/ef955b5f
Branch: refs/heads/master
Commit: ef955b5f1e533fa7ea42b710039af63c735a928d
Parents: 670fd1e
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
Authored: Sat Mar 17 23:38:40 2018 +0100
Committer: Gilles Sadowski <gi...@harfang.homelinux.org>
Committed: Sat Mar 17 23:38:40 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/ef955b5f/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 ab063df..6823175 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,6 +45,8 @@ import org.apache.commons.numbers.core.Precision;
*
*/
public final class Complex implements Serializable {
+ /** Serializable version identifier. */
+ private static final long serialVersionUID = 20180201L;
/** 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" */
@@ -52,12 +54,10 @@ public final class Complex implements Serializable {
/** A complex number representing one. */
public static final Complex ONE = new Complex(1, 0);
/** A complex number representing zero. */
- public static final Complex ZERO = new Complex(0, 0); /** Serializable version identifier. */
- private static final long serialVersionUID = 20180201L;
+ public static final Complex ZERO = new Complex(0, 0);
/** A complex number representing "NaN + NaN i" */
private static final Complex NAN = new Complex(Double.NaN, Double.NaN);
-
/** The imaginary part. */
private final double imaginary;
/** The real part. */