You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/09/23 20:46:18 UTC
[commons-rng] branch master updated: Fix RandomSource javadoc
stating the correct seed is created if null.
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push:
new 7f76368 Fix RandomSource javadoc stating the correct seed is created if null.
7f76368 is described below
commit 7f76368393b538a0bd2207791b9438cbcbc05232
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Sep 23 21:46:13 2019 +0100
Fix RandomSource javadoc stating the correct seed is created if null.
---
.../src/main/java/org/apache/commons/rng/simple/RandomSource.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/RandomSource.java b/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/RandomSource.java
index df51639..2f5a6f2 100644
--- a/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/RandomSource.java
+++ b/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/RandomSource.java
@@ -549,8 +549,8 @@ public enum RandomSource {
* when the array contains more bits than the state of the generator.
* </li>
* <li>
- * When the native seed type is an array and the {@code seed} is
- * {@code null}, the size of the generated array will be 128.
+ * When the {@code seed} is {@code null}, a seed of the correct type
+ * and size (for array seeds) will be generated.
* </li>
* </ul>
*