You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2023/11/18 08:33:38 UTC

(commons-numbers) 01/02: Checkstyle: remove redundant parentheses

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

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

commit ddd755520011abfcb07f38c74c86dd08b8abfe5f
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Nov 18 08:25:11 2023 +0000

    Checkstyle: remove redundant parentheses
---
 .../src/main/java/org/apache/commons/numbers/complex/Complex.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 6ac570ce..a441a250 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
@@ -2653,7 +2653,7 @@ public final class Complex implements Serializable  {
         }
         return acos(real, imaginary, (re, im) ->
             // Set the sign appropriately for real >= 0
-            (negative(im)) ?
+            negative(im) ?
                 // Multiply by I
                 new Complex(-im, re) :
                 // Multiply by -I