Method should not be part of the public API.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/b4907a33 Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/b4907a33 Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/b4907a33 Branch: refs/heads/master Commit: b4907a33d771c60597c46c56d33a279184e76684 Parents: b797559 Author: Gilles Sadowski <[email protected]> Authored: Fri Jan 20 15:15:39 2017 +0100 Committer: Gilles Sadowski <[email protected]> Committed: Fri Jan 20 15:15:39 2017 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/commons/numbers/complex/Complex.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/b4907a33/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 b130558..2cfebd6 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 @@ -1320,9 +1320,7 @@ public class Complex implements Serializable { * @param value the value to be hashed * @return the hash code */ - public static int hash(double value) { + private static int hash(double value) { return new Double(value).hashCode(); } - } -
