You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/11/07 17:34:51 UTC
svn commit: r1539704 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/dfp/Dfp.java
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