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

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


The following commit(s) were added to refs/heads/master by this push:
     new c0f527e50 Remove paren noise
c0f527e50 is described below

commit c0f527e50990258d8f51c097346ae347779180b7
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Oct 15 18:01:50 2022 -0400

    Remove paren noise
---
 src/main/java/org/apache/commons/lang3/math/NumberUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java 
b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
index 09f8613ac..4614f3725 100644
--- a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
+++ b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
@@ -470,7 +470,7 @@ public class NumberUtils {
         }
         return value.setScale(
             scale,
-            (roundingMode == null) ? RoundingMode.HALF_EVEN : roundingMode
+            roundingMode == null ? RoundingMode.HALF_EVEN : roundingMode
         );
     }
 

Reply via email to