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/03/03 23:50:07 UTC

[commons-rng] 01/02: InternalUtils: fix javadoc @throws tags

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 5916d2d14ec1ccb9c65af740b5d7e418a19ecfdf
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun Mar 3 23:49:42 2019 +0000

    InternalUtils: fix javadoc @throws tags
---
 .../org/apache/commons/rng/sampling/distribution/InternalUtils.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 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 d234440..5a9e11b 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
@@ -64,7 +64,7 @@ class InternalUtils { // Class is package-private on purpose; do not make it pub
          *
          * @param numValues Number of values of the function to compute.
          * @param cache Existing cache.
-         * @throw NegativeArraySizeException if {@code numValues < 0}.
+         * @throws NegativeArraySizeException if {@code numValues < 0}.
          */
         private FactorialLog(int numValues,
                              double[] cache) {
@@ -112,7 +112,7 @@ class InternalUtils { // Class is package-private on purpose; do not make it pub
          *
          * @param n Argument.
          * @return {@code log(n!)}.
-         * @throw IndexOutOfBoundsException if {@code numValues < 0}.
+         * @throws IndexOutOfBoundsException if {@code numValues < 0}.
          */
         public double value(final int n) {
             // Use cache of precomputed values.