Author: luc Date: Thu Jan 6 19:43:30 2011 New Revision: 1056035 URL: http://svn.apache.org/viewvc?rev=1056035&view=rev Log: Fixed an awkward statement that triggered a false positive warning JIRA: MATH-467
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java commons/proper/math/trunk/src/site/xdoc/changes.xml Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java?rev=1056035&r1=1056034&r2=1056035&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java Thu Jan 6 19:43:30 2011 @@ -177,8 +177,6 @@ public class HarmonicCoefficientsGuesser observations[i + 1] = mI; if (i-- != 0) { mI = observations[i]; - } else { - mI = null; } } observations[i + 1] = curr; Modified: commons/proper/math/trunk/src/site/xdoc/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/changes.xml?rev=1056035&r1=1056034&r2=1056035&view=diff ============================================================================== --- commons/proper/math/trunk/src/site/xdoc/changes.xml (original) +++ commons/proper/math/trunk/src/site/xdoc/changes.xml Thu Jan 6 19:43:30 2011 @@ -145,6 +145,9 @@ The <action> type attribute can be add,u </action> </release> <release version="2.2" date="TBD" description="TBD"> + <action dev="luc" type="fix" issue="MATH-467"> + Fixed an awkward statement that triggered a false positive warning. + </action> <action dev="psteitz" type="update" issue="MATH-364" due-to="Christian Winter"> Added complementary error function, erfc. </action>