You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2018/02/02 13:29:02 UTC
[07/50] commons-numbers git commit: Nit-picks (alignment).
Nit-picks (alignment).
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/dd15519e
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/dd15519e
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/dd15519e
Branch: refs/heads/feature__NUMBERS-51__field
Commit: dd15519eabf02dcb09824de7cf753de9865883d6
Parents: bf05e06
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
Authored: Sat Jan 27 17:53:53 2018 +0100
Committer: Gilles Sadowski <gi...@harfang.homelinux.org>
Committed: Sat Jan 27 17:53:53 2018 +0100
----------------------------------------------------------------------
.../main/java/org/apache/commons/numbers/complex/Complex.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/dd15519e/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 71a4220..ee0c147 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
@@ -195,10 +195,9 @@ public class Complex implements Serializable {
}
}
- /**
+ /**
* Return the norm of this complex number, defined as the square of the magnitude
-in the
- * <a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/cproj.html">
+ * in the <a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/cproj.html">
* IEEE and ISO C standards</a>.
*
* @return the norm.
@@ -222,7 +221,7 @@ in the
public Complex add(Complex addend) {
checkNotNull(addend);
return new Complex(real + addend.getReal(),
- imaginary + addend.getImaginary());
+ imaginary + addend.getImaginary());
}
/**