Author: erans
Date: Thu Dec 13 13:07:57 2012
New Revision: 1421280
URL: http://svn.apache.org/viewvc?rev=1421280&view=rev
Log:
Unused argument (found by PMD).
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java?rev=1421280&r1=1421279&r2=1421280&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java
Thu Dec 13 13:07:57 2012
@@ -2258,7 +2258,7 @@ public class FastMath {
xa = reduceResults[1];
xb = reduceResults[2];
} else if (xa > 1.5707963267948966) {
- final CodyWaite cw = new CodyWaite(xa, xb);
+ final CodyWaite cw = new CodyWaite(xa);
quadrant = cw.getK() & 3;
xa = cw.getRemA();
xb = cw.getRemB();
@@ -2313,7 +2313,7 @@ public class FastMath {
xa = reduceResults[1];
xb = reduceResults[2];
} else if (xa > 1.5707963267948966) {
- final CodyWaite cw = new CodyWaite(xa, xb);
+ final CodyWaite cw = new CodyWaite(xa);
quadrant = cw.getK() & 3;
xa = cw.getRemA();
xb = cw.getRemB();
@@ -2378,7 +2378,7 @@ public class FastMath {
xa = reduceResults[1];
xb = reduceResults[2];
} else if (xa > 1.5707963267948966) {
- final CodyWaite cw = new CodyWaite(xa, xb);
+ final CodyWaite cw = new CodyWaite(xa);
quadrant = cw.getK() & 3;
xa = cw.getRemA();
xb = cw.getRemB();
@@ -3803,10 +3803,8 @@ public class FastMath {
/**
* @param xa Argument.
- * @param xb Argument.
*/
- CodyWaite(double xa,
- double xb) {
+ CodyWaite(double xa) {
// Estimate k.
//k = (int)(xa / 1.5707963267948966);
int k = (int)(xa * 0.6366197723675814);