Alignment (nit-picks).
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/818603c2 Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/818603c2 Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/818603c2 Branch: refs/heads/feature__NUMBERS-51__field Commit: 818603c2895c10ec24c687105dc53cb64843a632 Parents: a88c767 Author: Gilles Sadowski <gil...@harfang.homelinux.org> Authored: Thu Feb 1 12:59:23 2018 +0100 Committer: Gilles Sadowski <gil...@harfang.homelinux.org> Committed: Thu Feb 1 12:59:23 2018 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/commons/numbers/complex/Complex.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/818603c2/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 31d1cf5..e544e28 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 @@ -652,7 +652,8 @@ public class Complex implements Serializable { * @return the inverse cosine of this complex number. */ public Complex acos() { - if (real == 0 && Double.isNaN(imaginary)) { + if (real == 0 && + Double.isNaN(imaginary)) { return new Complex(Math.PI * 0.5, Double.NaN); } else if (neitherInfiniteNorZeroNorNaN(real) && imaginary == Double.POSITIVE_INFINITY) { @@ -754,7 +755,8 @@ public class Complex implements Serializable { * @since 1.2 */ public Complex atanh(){ - if (real == 0 && Double.isNaN(imaginary)) { + if (real == 0 && + Double.isNaN(imaginary)) { return new Complex(0, Double.NaN); } else if (neitherInfiniteNorZeroNorNaN(real) && imaginary == 0) {