commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r906320 - /commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/math/RandomUtils.java
Date Thu, 04 Feb 2010 01:41:10 GMT
Author: sebb
Date: Thu Feb  4 01:41:10 2010
New Revision: 906320

URL: http://svn.apache.org/viewvc?rev=906320&view=rev
Log:
LANG-472 - Document >=0 behaviour

Modified:
    commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/math/RandomUtils.java

Modified: commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/math/RandomUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/math/RandomUtils.java?rev=906320&r1=906319&r2=906320&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/math/RandomUtils.java
(original)
+++ commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/math/RandomUtils.java
Thu Feb  4 01:41:10 2010
@@ -44,7 +44,7 @@
     /**
      * <p>Returns the next pseudorandom, uniformly distributed int value
      * from the Math.random() sequence.</p>
-     *
+     * <b>N.B. All values are >= 0.<b>
      * @return the random int
      */
     public static int nextInt() {
@@ -91,7 +91,7 @@
     /**
      * <p>Returns the next pseudorandom, uniformly distributed long value
      * from the Math.random() sequence.</p>
-     *
+     * <b>N.B. All values are >= 0.<b>
      * @return the random long
      */
     public static long nextLong() {



Mime
View raw message