Repository: commons-numbers Updated Branches: refs/heads/master 405f40f23 -> 95729d676
NUMBERS-68: made Complex class final. Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/95729d67 Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/95729d67 Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/95729d67 Branch: refs/heads/master Commit: 95729d67673dbfaa4a6452339c8a4fb38881623a Parents: 405f40f Author: Eric Barnhill <[email protected]> Authored: Wed Mar 14 13:24:46 2018 +0100 Committer: Eric Barnhill <[email protected]> Committed: Wed Mar 14 13:24:46 2018 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/commons/numbers/complex/Complex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/95729d67/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 55fdfd3..3d2a0c5 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 @@ -44,7 +44,7 @@ import org.apache.commons.numbers.core.Precision; * object types.</p> * */ -public class Complex implements Serializable { +final public class Complex implements Serializable { /** 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" */
