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 2022/09/26 13:48:17 UTC

[commons-rng] 06/08: Javadoc

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

commit c60b105ed53a0518d171a792040f47eeec8fe000
Author: aherbert <ah...@apache.org>
AuthorDate: Mon Sep 26 13:24:47 2022 +0100

    Javadoc
---
 .../src/main/java/org/apache/commons/rng/core/util/RandomStreams.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/RandomStreams.java b/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/RandomStreams.java
index cf64b911..7b23c00e 100644
--- a/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/RandomStreams.java
+++ b/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/RandomStreams.java
@@ -58,7 +58,7 @@ public final class RandomStreams {
 
     /**
      * Returns a stream producing the given {@code streamSize} number of new objects
-     * generated using the supplied {@code source} of randomness using the {@code factory}.
+     * generated using the supplied {@code source} of randomness and object {@code factory}.
      *
      * <p>A {@code long} seed is provided for each object instance using the stream position
      * and random bits created from the supplied {@code source}.
@@ -76,7 +76,7 @@ public final class RandomStreams {
      * @param factory Factory to create new instances.
      * @return a stream of objects; the stream is limited to the given {@code streamSize}.
      * @throws IllegalArgumentException if {@code streamSize} is negative.
-     * @throws NullPointerException if {@code source} or {@code factory} is null
+     * @throws NullPointerException if {@code source} or {@code factory} is null.
      */
     public static <T> Stream<T> generateWithSeed(long streamSize,
                                                  SplittableUniformRandomProvider source,