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:30 UTC

[4/7] commons-numbers git commit: Declaration order.

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/39f364a1
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/39f364a1
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/39f364a1

Branch: refs/heads/master
Commit: 39f364a14e5a10727d182b1f15b0d52e0257075c
Parents: f872b87
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
Authored: Sat Mar 17 23:58:21 2018 +0100
Committer: Gilles Sadowski <gi...@harfang.homelinux.org>
Committed: Sat Mar 17 23:58:21 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/39f364a1/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 14f7744..22e85f1 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,8 +45,6 @@ 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" */
@@ -57,6 +55,8 @@ public final class Complex implements Serializable  {
     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);
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 20180201L;
 
     /** The imaginary part. */
     private final double imaginary;