Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 608BC9C71 for ; Fri, 7 Oct 2011 07:33:43 +0000 (UTC) Received: (qmail 72718 invoked by uid 500); 7 Oct 2011 07:33:43 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 72658 invoked by uid 500); 7 Oct 2011 07:33:43 -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 72651 invoked by uid 99); 7 Oct 2011 07:33:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 07:33:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 07:33:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C7FB42388A6C for ; Fri, 7 Oct 2011 07:33:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1179951 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java Date: Fri, 07 Oct 2011 07:33:21 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111007073321.C7FB42388A6C@eris.apache.org> Author: luc Date: Fri Oct 7 07:33:21 2011 New Revision: 1179951 URL: http://svn.apache.org/viewvc?rev=1179951&view=rev Log: Fixed exception type Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java?rev=1179951&r1=1179950&r2=1179951&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java Fri Oct 7 07:33:21 2011 @@ -430,7 +430,7 @@ public class EmpiricalDistributionImpl i * @return the random value. * @throws MathIllegalStateException if the distribution has not been loaded */ - public double getNextValue() throws IllegalStateException { + public double getNextValue() throws MathIllegalStateException { if (!loaded) { throw new MathIllegalStateException(LocalizedFormats.DISTRIBUTION_NOT_LOADED);