This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git

commit 7a0670d169233e87567522963dd7c995b2058e73
Author: Gilles Sadowski <gil...@harfang.homelinux.org>
AuthorDate: Fri Dec 13 14:36:09 2019 +0100

    Unnecessary parentheses.
---
 .../geometry/euclidean/threed/rotation/QuaternionRotation.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/rotation/QuaternionRotation.java
 
b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/rotation/QuaternionRotation.java
index 216aaa7..460852e 100644
--- 
a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/rotation/QuaternionRotation.java
+++ 
b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/rotation/QuaternionRotation.java
@@ -83,9 +83,9 @@ public final class QuaternionRotation implements Rotation3D {
     @Override
     public Vector3D getAxis() {
         final Vector3D axis = Vectors.tryNormalize(Vector3D.of(quat.getX(), 
quat.getY(), quat.getZ()));
-        return (axis != null) ?
-                axis :
-                Vector3D.Unit.PLUS_X;
+        return axis != null ?
+            axis :
+            Vector3D.Unit.PLUS_X;
     }
 
     /**

Reply via email to