Author: luc
Date: Thu Jan 10 05:51:46 2008
New Revision: 610793
URL: http://svn.apache.org/viewvc?rev=610793&view=rev
Log:
replaced calls to deprecated DescriptiveStatistics.newInstance()
and SummaryStatistics.newInstance() methods
Modified:
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/CertifiedDataAbstractTest.java
Modified:
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/CertifiedDataAbstractTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/CertifiedDataAbstractTest.java?rev=610793&r1=610792&r2=610793&view=diff
==============================================================================
---
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/CertifiedDataAbstractTest.java
(original)
+++
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/CertifiedDataAbstractTest.java
Thu Jan 10 05:51:46 2008
@@ -44,8 +44,8 @@
private Map certifiedValues;
protected void setUp() throws Exception {
- descriptives = DescriptiveStatistics.newInstance();
- summaries = SummaryStatistics.newInstance();
+ descriptives = new DescriptiveStatistics();
+ summaries = new SummaryStatistics();
certifiedValues = new HashMap();
loadData();