You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2008/04/24 14:04:36 UTC
svn commit: r651230 - in /commons/proper/math/branches/MATH_2_0/src:
java/org/apache/commons/math/stat/descriptive/
java/org/apache/commons/math/stat/inference/
test/org/apache/commons/math/stat/descriptive/
Author: luc
Date: Thu Apr 24 05:04:33 2008
New Revision: 651230
URL: http://svn.apache.org/viewvc?rev=651230&view=rev
Log:
removed deprecated factory methods and classes
they were replaced by setter injection as of 1.2
Removed:
commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TestFactory.java
commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TestFactoryImpl.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/DescriptiveStatisticsAbstractTest.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/DescriptiveStatisticsImplTest.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsAbstractTest.java
Modified:
commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java
commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java
commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TTestImpl.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/DescriptiveStatisticsTest.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsImplTest.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java
Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java Thu Apr 24 05:04:33 2008
@@ -20,7 +20,6 @@
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
-import org.apache.commons.discovery.tools.DiscoverClass;
import org.apache.commons.math.stat.descriptive.moment.GeometricMean;
import org.apache.commons.math.stat.descriptive.moment.Kurtosis;
import org.apache.commons.math.stat.descriptive.moment.Mean;
@@ -56,8 +55,8 @@
public class DescriptiveStatistics implements StatisticalSummary, Serializable {
/** Serialization UID */
- private static final long serialVersionUID = -2734185686570407433L;
-
+ private static final long serialVersionUID = 4133067267405273064L;
+
/** hold the window size **/
protected int windowSize = INFINITE_WINDOW;
@@ -110,39 +109,6 @@
public DescriptiveStatistics(int window) {
super();
setWindowSize(window);
- }
-
- /**
- * Create an instance of a <code>DescriptiveStatistics</code>
- * @param cls the type of <code>DescriptiveStatistics</code> object to
- * create.
- * @return a new instance.
- * @throws InstantiationException is thrown if the object can not be
- * created.
- * @throws IllegalAccessException is thrown if the type's default
- * constructor is not accessible.
- * @deprecated to be removed in commons-math 2.0
- */
- public static DescriptiveStatistics newInstance(Class cls) throws InstantiationException, IllegalAccessException {
- return (DescriptiveStatistics)cls.newInstance();
- }
-
- /**
- * Create an instance of a <code>DescriptiveStatistics</code>
- * @return a new DescriptiveStatistics instance.
- * @deprecated to be removed in commons-math 2.0
- */
- public static DescriptiveStatistics newInstance() {
- DescriptiveStatistics factory = null;
- try {
- DiscoverClass dc = new DiscoverClass();
- factory = (DescriptiveStatistics) dc.newInstance(
- DescriptiveStatistics.class,
- "org.apache.commons.math.stat.descriptive.DescriptiveStatisticsImpl");
- } catch(Throwable t) {
- return new DescriptiveStatisticsImpl();
- }
- return factory;
}
/**
Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java Thu Apr 24 05:04:33 2008
@@ -15,7 +15,6 @@
import java.io.Serializable;
-import org.apache.commons.discovery.tools.DiscoverClass;
import org.apache.commons.math.stat.descriptive.moment.GeometricMean;
import org.apache.commons.math.stat.descriptive.moment.Mean;
import org.apache.commons.math.stat.descriptive.moment.SecondMoment;
@@ -55,37 +54,7 @@
public class SummaryStatistics implements StatisticalSummary, Serializable {
/** Serialization UID */
- private static final long serialVersionUID = -3346512372447011854L;
-
- /**
- * Create an instance of a <code>SummaryStatistics</code>
- * @param cls the type of <code>SummaryStatistics</code> object to create.
- * @return a new instance.
- * @deprecated to be removed in commons-math 2.0
- * @throws InstantiationException is thrown if the object can not be
- * created.
- * @throws IllegalAccessException is thrown if the type's default
- * constructor is not accessible.
- */
- public static SummaryStatistics newInstance(Class cls) throws InstantiationException, IllegalAccessException {
- return (SummaryStatistics)cls.newInstance();
- }
-
- /**
- * Create an instance of a <code>SummaryStatistics</code>
- * @return a new SummaryStatistics instance.
- * @deprecated to be removed in commons-math 2.0
- */
- public static SummaryStatistics newInstance() {
- SummaryStatistics instance = null;
- try {
- DiscoverClass dc = new DiscoverClass();
- instance = (SummaryStatistics)dc.newInstance(SummaryStatistics.class, "org.apache.commons.math.stat.descriptive.SummaryStatisticsImpl");
- } catch (Throwable t) {
- return new SummaryStatisticsImpl();
- }
- return instance;
- }
+ private static final long serialVersionUID = -2021321786743555871L;
/**
* Construct a SummaryStatistics instance
Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java Thu Apr 24 05:04:33 2008
@@ -19,7 +19,6 @@
import org.apache.commons.math.MathException;
import org.apache.commons.math.distribution.ChiSquaredDistribution;
import org.apache.commons.math.distribution.ChiSquaredDistributionImpl;
-import org.apache.commons.math.distribution.DistributionFactory;
/**
* Implements Chi-Square test statistics defined in the
@@ -327,16 +326,6 @@
throw new IllegalArgumentException("All entries in input 2-way table must be non-negative");
}
- }
-
- //--------------------- Protected methods ---------------------------------
- /**
- * Gets a DistributionFactory to use in creating ChiSquaredDistribution instances.
- * @deprecated inject ChiSquaredDistribution instances directly instead of
- * using a factory.
- */
- protected DistributionFactory getDistributionFactory() {
- return DistributionFactory.newInstance();
}
//--------------------- Private array methods -- should find a utility home for these
Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TTestImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TTestImpl.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TTestImpl.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TTestImpl.java Thu Apr 24 05:04:33 2008
@@ -17,7 +17,6 @@
package org.apache.commons.math.stat.inference;
import org.apache.commons.math.MathException;
-import org.apache.commons.math.distribution.DistributionFactory;
import org.apache.commons.math.distribution.TDistribution;
import org.apache.commons.math.distribution.TDistributionImpl;
import org.apache.commons.math.stat.StatUtils;
@@ -919,15 +918,6 @@
//----------------------------------------------- Protected methods
- /**
- * Gets a DistributionFactory to use in creating TDistribution instances.
- * @return a distribution factory.
- * @deprecated inject TDistribution directly instead of using a factory.
- */
- protected DistributionFactory getDistributionFactory() {
- return DistributionFactory.newInstance();
- }
-
/**
* Computes approximate degrees of freedom for 2-sample t-test.
*
Modified: commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/DescriptiveStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/DescriptiveStatisticsTest.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/DescriptiveStatisticsTest.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/DescriptiveStatisticsTest.java Thu Apr 24 05:04:33 2008
@@ -14,19 +14,18 @@
package org.apache.commons.math.stat.descriptive;
import junit.framework.Test;
+import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.apache.commons.math.stat.descriptive.rank.Percentile;
/**
* Test cases for the DescriptiveStatistics class.
- * When DescriptiveStatisticsImpl is removed, this class should replace
- * DescriptiveStatisticsAbstractTest
*
* @version $Revision: 592121 $ $Date: 2007-08-16 15:36:33 -0500 (Thu, 16 Aug
* 2007) $
*/
-public final class DescriptiveStatisticsTest extends DescriptiveStatisticsAbstractTest {
+public class DescriptiveStatisticsTest extends TestCase {
public DescriptiveStatisticsTest(String name) {
super(name);
Modified: commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsImplTest.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsImplTest.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsImplTest.java Thu Apr 24 05:04:33 2008
@@ -25,7 +25,7 @@
* @version $Revision$ $Date$
*/
-public final class SummaryStatisticsImplTest extends SummaryStatisticsAbstractTest {
+public final class SummaryStatisticsImplTest extends SummaryStatisticsTest {
public SummaryStatisticsImplTest(String name) {
super(name);
Modified: commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java Thu Apr 24 05:04:33 2008
@@ -18,34 +18,225 @@
import junit.framework.Test;
+import junit.framework.TestCase;
import junit.framework.TestSuite;
+import org.apache.commons.math.TestUtils;
import org.apache.commons.math.stat.descriptive.moment.Mean;
import org.apache.commons.math.stat.descriptive.summary.Sum;
/**
* Test cases for the {@link SummaryStatistics} class.
- * When SummaryStatisticsImpl is removed in math 2.0, test cases from
- * SummaryStatisticsImplTest should be merged into this class.
*
* @version $Revision: 566833 $ $Date: 2007-08-16 13:36:33 -0700 (Thu, 16 Aug 2007) $
*/
-public final class SummaryStatisticsTest extends SummaryStatisticsAbstractTest {
+public class SummaryStatisticsTest extends TestCase {
+
+ private double one = 1;
+ private float twoF = 2;
+ private long twoL = 2;
+ private int three = 3;
+ private double mean = 2;
+ private double sumSq = 18;
+ private double sum = 8;
+ private double var = 0.666666666666666666667;
+ private double std = Math.sqrt(var);
+ private double n = 4;
+ private double min = 1;
+ private double max = 3;
+ private double tolerance = 10E-15;
- public SummaryStatisticsTest(String name) {
- super(name);
- }
-
public static Test suite() {
TestSuite suite = new TestSuite(SummaryStatisticsTest.class);
suite.setName("SummaryStatistics tests");
return suite;
}
+ public SummaryStatisticsTest(String name) {
+ super(name);
+ }
+
protected SummaryStatistics createSummaryStatistics() {
return new SummaryStatistics();
}
-
+
+ /** test stats */
+ public void testStats() {
+ SummaryStatistics u = createSummaryStatistics();
+ assertEquals("total count",0,u.getN(),tolerance);
+ u.addValue(one);
+ u.addValue(twoF);
+ u.addValue(twoL);
+ u.addValue(three);
+ assertEquals("N",n,u.getN(),tolerance);
+ assertEquals("sum",sum,u.getSum(),tolerance);
+ assertEquals("sumsq",sumSq,u.getSumsq(),tolerance);
+ assertEquals("var",var,u.getVariance(),tolerance);
+ assertEquals("std",std,u.getStandardDeviation(),tolerance);
+ assertEquals("mean",mean,u.getMean(),tolerance);
+ assertEquals("min",min,u.getMin(),tolerance);
+ assertEquals("max",max,u.getMax(),tolerance);
+ u.clear();
+ assertEquals("total count",0,u.getN(),tolerance);
+ }
+
+ public void testN0andN1Conditions() throws Exception {
+ SummaryStatistics u = createSummaryStatistics();
+ assertTrue("Mean of n = 0 set should be NaN",
+ Double.isNaN( u.getMean() ) );
+ assertTrue("Standard Deviation of n = 0 set should be NaN",
+ Double.isNaN( u.getStandardDeviation() ) );
+ assertTrue("Variance of n = 0 set should be NaN",
+ Double.isNaN(u.getVariance() ) );
+
+ /* n=1 */
+ u.addValue(one);
+ assertTrue("mean should be one (n = 1)",
+ u.getMean() == one);
+ assertTrue("geometric should be one (n = 1) instead it is " + u.getGeometricMean(),
+ u.getGeometricMean() == one);
+ assertTrue("Std should be zero (n = 1)",
+ u.getStandardDeviation() == 0.0);
+ assertTrue("variance should be zero (n = 1)",
+ u.getVariance() == 0.0);
+
+ /* n=2 */
+ u.addValue(twoF);
+ assertTrue("Std should not be zero (n = 2)",
+ u.getStandardDeviation() != 0.0);
+ assertTrue("variance should not be zero (n = 2)",
+ u.getVariance() != 0.0);
+
+ }
+
+ public void testProductAndGeometricMean() throws Exception {
+ SummaryStatistics u = createSummaryStatistics();
+ u.addValue( 1.0 );
+ u.addValue( 2.0 );
+ u.addValue( 3.0 );
+ u.addValue( 4.0 );
+
+ assertEquals( "Geometric mean not expected", 2.213364,
+ u.getGeometricMean(), 0.00001 );
+ }
+
+ public void testNaNContracts() {
+ SummaryStatistics u = createSummaryStatistics();
+ assertTrue("mean not NaN",Double.isNaN(u.getMean()));
+ assertTrue("min not NaN",Double.isNaN(u.getMin()));
+ assertTrue("std dev not NaN",Double.isNaN(u.getStandardDeviation()));
+ assertTrue("var not NaN",Double.isNaN(u.getVariance()));
+ assertTrue("geom mean not NaN",Double.isNaN(u.getGeometricMean()));
+
+ u.addValue(1.0);
+
+ assertEquals( "mean not expected", 1.0,
+ u.getMean(), Double.MIN_VALUE);
+ assertEquals( "variance not expected", 0.0,
+ u.getVariance(), Double.MIN_VALUE);
+ assertEquals( "geometric mean not expected", 1.0,
+ u.getGeometricMean(), Double.MIN_VALUE);
+
+ u.addValue(-1.0);
+
+ assertTrue("geom mean not NaN",Double.isNaN(u.getGeometricMean()));
+
+ u.addValue(0.0);
+
+ assertTrue("geom mean not NaN",Double.isNaN(u.getGeometricMean()));
+
+ //FiXME: test all other NaN contract specs
+ }
+
+ public void testGetSummary() {
+ SummaryStatistics u = createSummaryStatistics();
+ StatisticalSummary summary = u.getSummary();
+ verifySummary(u, summary);
+ u.addValue(1d);
+ summary = u.getSummary();
+ verifySummary(u, summary);
+ u.addValue(2d);
+ summary = u.getSummary();
+ verifySummary(u, summary);
+ u.addValue(2d);
+ summary = u.getSummary();
+ verifySummary(u, summary);
+ }
+
+ public void testSerialization() {
+ SummaryStatistics u = createSummaryStatistics();
+ // Empty test
+ TestUtils.checkSerializedEquality(u);
+ SummaryStatistics s = (SummaryStatistics) TestUtils.serializeAndRecover(u);
+ StatisticalSummary summary = s.getSummary();
+ verifySummary(u, summary);
+
+ // Add some data
+ u.addValue(2d);
+ u.addValue(1d);
+ u.addValue(3d);
+ u.addValue(4d);
+ u.addValue(5d);
+
+ // Test again
+ TestUtils.checkSerializedEquality(u);
+ s = (SummaryStatistics) TestUtils.serializeAndRecover(u);
+ summary = s.getSummary();
+ verifySummary(u, summary);
+
+ }
+
+ public void testEqualsAndHashCode() {
+ SummaryStatistics u = createSummaryStatistics();
+ SummaryStatistics t = null;
+ int emptyHash = u.hashCode();
+ assertTrue("reflexive", u.equals(u));
+ assertFalse("non-null compared to null", u.equals(t));
+ assertFalse("wrong type", u.equals(new Double(0)));
+ t = createSummaryStatistics();
+ assertTrue("empty instances should be equal", t.equals(u));
+ assertTrue("empty instances should be equal", u.equals(t));
+ assertEquals("empty hash code", emptyHash, t.hashCode());
+
+ // Add some data to u
+ u.addValue(2d);
+ u.addValue(1d);
+ u.addValue(3d);
+ u.addValue(4d);
+ assertFalse("different n's should make instances not equal", t.equals(u));
+ assertFalse("different n's should make instances not equal", u.equals(t));
+ assertTrue("different n's should make hashcodes different",
+ u.hashCode() != t.hashCode());
+
+ //Add data in same order to t
+ t.addValue(2d);
+ t.addValue(1d);
+ t.addValue(3d);
+ t.addValue(4d);
+ assertTrue("summaries based on same data should be equal", t.equals(u));
+ assertTrue("summaries based on same data should be equal", u.equals(t));
+ assertEquals("summaries based on same data should have same hashcodes",
+ u.hashCode(), t.hashCode());
+
+ // Clear and make sure summaries are indistinguishable from empty summary
+ u.clear();
+ t.clear();
+ assertTrue("empty instances should be equal", t.equals(u));
+ assertTrue("empty instances should be equal", u.equals(t));
+ assertEquals("empty hash code", emptyHash, t.hashCode());
+ assertEquals("empty hash code", emptyHash, u.hashCode());
+ }
+
+ private void verifySummary(SummaryStatistics u, StatisticalSummary s) {
+ assertEquals("N",s.getN(),u.getN());
+ TestUtils.assertEquals("sum",s.getSum(),u.getSum(),tolerance);
+ TestUtils.assertEquals("var",s.getVariance(),u.getVariance(),tolerance);
+ TestUtils.assertEquals("std",s.getStandardDeviation(),u.getStandardDeviation(),tolerance);
+ TestUtils.assertEquals("mean",s.getMean(),u.getMean(),tolerance);
+ TestUtils.assertEquals("min",s.getMin(),u.getMin(),tolerance);
+ TestUtils.assertEquals("max",s.getMax(),u.getMax(),tolerance);
+ }
+
public void testSetterInjection() throws Exception {
SummaryStatistics u = createSummaryStatistics();
u.setMeanImpl(new Sum());
Modified: commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedDescriptiveStatisticsTest.java Thu Apr 24 05:04:33 2008
@@ -21,7 +21,7 @@
* @version $Revision$ $Date: 2007-08-16 15:36:33 -0500 (Thu, 16 Aug
* 2007) $
*/
-public final class SynchronizedDescriptiveStatisticsTest extends DescriptiveStatisticsAbstractTest {
+public final class SynchronizedDescriptiveStatisticsTest extends DescriptiveStatisticsTest {
public SynchronizedDescriptiveStatisticsTest(String name) {
super(name);
Modified: commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java?rev=651230&r1=651229&r2=651230&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/stat/descriptive/SynchronizedSummaryStatisticsTest.java Thu Apr 24 05:04:33 2008
@@ -21,7 +21,7 @@
* @version $Revision: 592121 $ $Date: 2007-08-16 15:36:33 -0500 (Thu, 16 Aug
* 2007) $
*/
-public final class SynchronizedSummaryStatisticsTest extends SummaryStatisticsAbstractTest {
+public final class SynchronizedSummaryStatisticsTest extends SummaryStatisticsTest {
public SynchronizedSummaryStatisticsTest(String name) {
super(name);