Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 25671 invoked from network); 10 Jan 2008 13:57:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 13:57:37 -0000 Received: (qmail 36153 invoked by uid 500); 10 Jan 2008 13:57:26 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 35689 invoked by uid 500); 10 Jan 2008 13:57:25 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 35680 invoked by uid 99); 10 Jan 2008 13:57:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 05:57:25 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 13:57:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 96A1A1A984D; Thu, 10 Jan 2008 05:57:15 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r610798 - /commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java Date: Thu, 10 Jan 2008 13:57:15 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080110135715.96A1A1A984D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: luc Date: Thu Jan 10 05:57:14 2008 New Revision: 610798 URL: http://svn.apache.org/viewvc?rev=610798&view=rev Log: replaced calls to deprecated SummaryStatistics.newInstance() method Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java?rev=610798&r1=610797&r2=610798&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java Thu Jan 10 05:57:14 2008 @@ -24,7 +24,6 @@ import java.io.InputStreamReader; import org.apache.commons.math.stat.descriptive.SummaryStatistics; -import org.apache.commons.math.stat.descriptive.SummaryStatisticsImpl; import org.apache.commons.math.stat.descriptive.DescriptiveStatistics; /** @@ -65,7 +64,7 @@ * and use single pass algorithms to compute statistics */ public void testSummaryStatistics() throws Exception { - SummaryStatistics u = SummaryStatistics.newInstance(SummaryStatisticsImpl.class); + SummaryStatistics u = new SummaryStatistics(); loadStats("data/PiDigits.txt", u); assertEquals("PiDigits: std", std, u.getStandardDeviation(), 1E-13); assertEquals("PiDigits: mean", mean, u.getMean(), 1E-13); @@ -93,7 +92,7 @@ */ public void testDescriptiveStatistics() throws Exception { - DescriptiveStatistics u = DescriptiveStatistics.newInstance(); + DescriptiveStatistics u = new DescriptiveStatistics(); loadStats("data/PiDigits.txt", u); assertEquals("PiDigits: std", std, u.getStandardDeviation(), 1E-14);