commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1539704 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/dfp/Dfp.java
Date Thu, 07 Nov 2013 16:34:51 GMT
Author: tn
Date: Thu Nov  7 16:34:51 2013
New Revision: 1539704

URL: http://svn.apache.org/r1539704
Log:
Fix checkstyle warning wrt unneeded parenthesis.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/dfp/Dfp.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/dfp/Dfp.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/dfp/Dfp.java?rev=1539704&r1=1539703&r2=1539704&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/dfp/Dfp.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/dfp/Dfp.java Thu Nov
 7 16:34:51 2013
@@ -1806,7 +1806,7 @@ public class Dfp implements RealFieldEle
 
                 /* find out how far off the remainder is telling us we are */
                 minadj = (remainder[mant.length] * RADIX)+remainder[mant.length-1];
-                minadj /= (divisor.mant[mant.length-1]+1);
+                minadj /= divisor.mant[mant.length-1] + 1;
 
                 if (minadj >= 2) {
                     min = trial+minadj;  // update the minimum



Mime
View raw message