Reverting commit 2a8061f4ad8903a9c6d46b404973bdbd84385d39 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch. Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/3c2fedeb Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/3c2fedeb Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/3c2fedeb Branch: refs/heads/master Commit: 3c2fedeb0901bd347c4b4f546b741de68a2e198a Parents: e7c659f Author: Luc Maisonobe <l...@apache.org> Authored: Sun Jan 17 11:35:25 2016 +0100 Committer: Luc Maisonobe <l...@apache.org> Committed: Sun Jan 17 11:40:27 2016 +0100 ---------------------------------------------------------------------- .../apache/commons/math4/random/BaseRandomGenerator.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/3c2fedeb/src/main/java/org/apache/commons/math4/random/BaseRandomGenerator.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/random/BaseRandomGenerator.java b/src/main/java/org/apache/commons/math4/random/BaseRandomGenerator.java index 2d78005..a78fd38 100644 --- a/src/main/java/org/apache/commons/math4/random/BaseRandomGenerator.java +++ b/src/main/java/org/apache/commons/math4/random/BaseRandomGenerator.java @@ -175,7 +175,8 @@ public abstract class BaseRandomGenerator * Generates random bytes and places them into a user-supplied array. * * <p> - * The array is filled with bytes extracted from random integers. + * The array is filled with bytes extracted from random integers generated + * using {@link #nextInt()}. * This implies that the number of random bytes generated may be larger than * the length of the byte array. * </p> @@ -191,7 +192,8 @@ public abstract class BaseRandomGenerator * Generates random bytes and places them into a user-supplied array. * * <p> - * The array is filled with bytes extracted from random integers. + * The array is filled with bytes extracted from random integers generated + * using {@link #nextInt()}. * This implies that the number of random bytes generated may be larger than * the length of the byte array. * </p> @@ -222,7 +224,8 @@ public abstract class BaseRandomGenerator * Generates random bytes and places them into a user-supplied array. * * <p> - * The array is filled with bytes extracted from random integers. + * The array is filled with bytes extracted from random integers generated + * using {@link #nextInt()}. * This implies that the number of random bytes generated may be larger than * the length of the byte array. * </p>