Author: luc Date: Thu Jan 6 19:41:43 2011 New Revision: 1056034 URL: http://svn.apache.org/viewvc?rev=1056034&view=rev Log: Fixed an awkward statement that triggered a false positive warning JIRA: MATH-467
Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java?rev=1056034&r1=1056033&r2=1056034&view=diff ============================================================================== --- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java (original) +++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java Thu Jan 6 19:41:43 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/branches/MATH_2_X/src/site/xdoc/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml?rev=1056034&r1=1056033&r2=1056034&view=diff ============================================================================== --- commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml (original) +++ commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml Thu Jan 6 19:41:43 2011 @@ -52,6 +52,9 @@ The <action> type attribute can be add,u If the output is not quite correct, check for invisible trailing spaces! --> <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>