Use "date" convention for assigning serial version identifier.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/539279ce Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/539279ce Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/539279ce Branch: refs/heads/master Commit: 539279ce0e9de7c68b149afa0a908b72225fd8d8 Parents: f3d40f8 Author: Gilles Sadowski <[email protected]> Authored: Fri Jan 20 15:02:31 2017 +0100 Committer: Gilles Sadowski <[email protected]> Committed: Fri Jan 20 15:02:31 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/539279ce/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 219681b..1d864e6 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,9 @@ 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 @@ -58,9 +61,6 @@ 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 = -6195664516687396620L; - /** The imaginary part. */ private final double imaginary; /** The real part. */
