From 5340f4c3358ff83fb3eb3ffebf1aafb827eb639d Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sun, 28 Feb 2010 19:44:49 +0000 Subject: [PATCH] fixed a checkstyle warning concerning extra parentheses git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@917277 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/math/util/MathUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math/util/MathUtils.java b/src/main/java/org/apache/commons/math/util/MathUtils.java index b580958f8..86393e7c4 100644 --- a/src/main/java/org/apache/commons/math/util/MathUtils.java +++ b/src/main/java/org/apache/commons/math/util/MathUtils.java @@ -708,7 +708,7 @@ public final class MathUtils { "overflow: gcd({0}, {1}) is 2^63", p, q); } - return (Math.abs(u) + Math.abs(v)); + return Math.abs(u) + Math.abs(v); } // keep u and v negative, as negative integers range down to // -2^63, while positive numbers can only be as large as 2^63-1