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/02/13 15:44:55 UTC

[commons-rng] 07/07: Javadoc fix

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 8ab77a64038d1dba0822f8c0afdc629576623abd
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Feb 13 15:39:57 2019 +0000

    Javadoc fix
---
 .../org/apache/commons/rng/sampling/distribution/InternalUtils.java   | 4 ++--
 .../org/apache/commons/rng/simple/ProvidersCommonParametricTest.java  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/InternalUtils.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/InternalUtils.java
index 11205bd..287cc8f 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/InternalUtils.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/InternalUtils.java
@@ -49,8 +49,8 @@ class InternalUtils { // Class is package-private on purpose; do not make it pub
     /**
      * Class for computing the natural logarithm of the factorial of {@code n}.
      * It allows to allocate a cache of precomputed values.
-     * In case of cache miss, computation is preformed by a call to
-     * {@link Gamma#logGamma(double)}.
+     * In case of cache miss, computation is performed by a call to
+     * {@link InternalGamma#logGamma(double)}.
      */
     public static final class FactorialLog {
         /**
diff --git a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
index c002392..513ddbf 100644
--- a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
+++ b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
@@ -54,9 +54,9 @@ public class ProvidersCommonParametricTest {
     private final Object[] originalArgs;
 
     /**
-     * Initializes generator instance.
+     * Initializes the test instance.
      *
-     * @param rng RNG to be tested.
+     * @param data Random source (and seed arguments) to be tested.
      */
     public ProvidersCommonParametricTest(ProvidersList.Data data) {
         originalSource = data.getSource();