commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
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 GMT
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);



Mime
View raw message