commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r556484 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomDataImpl.java
Date Mon, 16 Jul 2007 01:20:13 GMT
Author: psteitz
Date: Sun Jul 15 18:20:12 2007
New Revision: 556484

URL: http://svn.apache.org/viewvc?view=rev&rev=556484
Log:
Corrected error in exception text.

Modified:
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomDataImpl.java

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomDataImpl.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomDataImpl.java?view=diff&rev=556484&r1=556483&r2=556484
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomDataImpl.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomDataImpl.java
Sun Jul 15 18:20:12 2007
@@ -380,7 +380,7 @@
     public double nextUniform(double lower, double upper) {
         if (lower >= upper) {
             throw new IllegalArgumentException
-            ("lower bound must be <= upper bound");
+            ("lower bound must be < upper bound");
         }
         RandomGenerator rand = getRan();
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message