You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/10/17 11:13:29 UTC

[2/4] [lang] Better JavaDoc

Better JavaDoc


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/69383a2b
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/69383a2b
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/69383a2b

Branch: refs/heads/master
Commit: 69383a2babea381e7e114d2e7bb8b44eb4b14ca5
Parents: 31466db
Author: Benedikt Ritter <br...@apache.org>
Authored: Sat Oct 17 11:10:54 2015 +0200
Committer: Benedikt Ritter <br...@apache.org>
Committed: Sat Oct 17 11:10:54 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/lang3/RandomUtils.java    | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/69383a2b/src/main/java/org/apache/commons/lang3/RandomUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java b/src/main/java/org/apache/commons/lang3/RandomUtils.java
index 16188c6..594fe3f 100644
--- a/src/main/java/org/apache/commons/lang3/RandomUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java
@@ -94,7 +94,9 @@ public class RandomUtils {
     /**
      * <p> Returns a random int within 0 - Integer.MAX_VALUE </p>
      *
-     * @see #nextInt()
+     * @return the random integer
+     * @see #nextInt(int, int)
+     * @since 3.5
      */
     public static int nextInt() {
         return nextInt(0, Integer.MAX_VALUE);
@@ -129,7 +131,9 @@ public class RandomUtils {
     /**
      * <p> Returns a random long within 0 - Long.MAX_VALUE </p>
      *
-     * @see #nextLong()
+     * @return the random long
+     * @see #nextLong(long, long)
+     * @since 3.5
      */
     public static long nextLong() {
         return nextLong(0, Long.MAX_VALUE);
@@ -164,7 +168,9 @@ public class RandomUtils {
     /**
      * <p> Returns a random double within 0 - Double.MAX_VALUE </p>
      *
-     * @see #nextDouble()
+     * @return the random double
+     * @see #nextDouble(double, double)
+     * @since 3.5
      */
     public static double nextDouble() {
         return nextDouble(0, Double.MAX_VALUE);
@@ -199,7 +205,9 @@ public class RandomUtils {
     /**
      * <p> Returns a random float within 0 - Float.MAX_VALUE </p>
      *
+     * @return the random float
      * @see #nextFloat()
+     * @since 3.5
      */
     public static float nextFloat() {
         return nextFloat(0, Float.MAX_VALUE);