commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [2/6] commons-numbers git commit: Declaration order (CheckStyle).
Date Sat, 21 Jan 2017 11:19:23 GMT
Declaration order (CheckStyle).


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

Branch: refs/heads/master
Commit: d5937fa66ddcc3a300e86a788cf252466e402230
Parents: 87a8927
Author: Gilles Sadowski <gilles@harfang.homelinux.org>
Authored: Sat Jan 21 12:03:35 2017 +0100
Committer: Gilles Sadowski <gilles@harfang.homelinux.org>
Committed: Sat Jan 21 12:03:35 2017 +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/d5937fa6/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 4d20226..12cb384 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,9 +45,6 @@ import java.util.List;
  *
  */
 public class Complex implements Serializable  {
-    /** Serializable version identifier */
-    private static final long serialVersionUID = 201701120L;
-
     /** The square root of -1. A number representing "0.0 + 1.0i" */
     public static final Complex I = new Complex(0.0, 1.0);
     // CHECKSTYLE: stop ConstantName
@@ -61,6 +58,9 @@ public class Complex implements Serializable  {
     /** A complex number representing "0.0 + 0.0i" */
     public static final Complex ZERO = new Complex(0.0, 0.0);
 
+    /** Serializable version identifier */
+    private static final long serialVersionUID = 201701120L;
+
     /** The imaginary part. */
     private final double imaginary;
     /** The real part. */


Mime
View raw message