commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r917277 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
Date Sun, 28 Feb 2010 19:44:49 GMT
Author: luc
Date: Sun Feb 28 19:44:49 2010
New Revision: 917277

URL: http://svn.apache.org/viewvc?rev=917277&view=rev
Log:
fixed a checkstyle warning concerning extra parentheses

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java?rev=917277&r1=917276&r2=917277&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java Sun
Feb 28 19:44:49 2010
@@ -708,7 +708,7 @@
                         "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



Mime
View raw message