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 46ab1a6b80a4abca07afebaf6618630e3a70ce47 Author: aherbert <[email protected]> AuthorDate: Thu Sep 26 15:41:51 2019 +0100 javadoc: Fix @throw to @throws --- .../src/main/java/org/apache/commons/rng/core/util/NumberFactory.java | 2 +- .../java/org/apache/commons/rng/simple/internal/ProviderBuilder.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/NumberFactory.java b/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/NumberFactory.java index 4f5d1c5..ddc46f7 100644 --- a/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/NumberFactory.java +++ b/commons-rng-core/src/main/java/org/apache/commons/rng/core/util/NumberFactory.java @@ -400,7 +400,7 @@ public final class NumberFactory { /** * @param expected Expected value. * @param actual Actual value. - * @throw IllegalArgumentException if {@code expected != actual}. + * @throws IllegalArgumentException if {@code expected != actual}. */ private static void checkSize(int expected, int actual) { diff --git a/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/internal/ProviderBuilder.java b/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/internal/ProviderBuilder.java index d9e394e..1739ea5 100644 --- a/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/internal/ProviderBuilder.java +++ b/commons-rng-simple/src/main/java/org/apache/commons/rng/simple/internal/ProviderBuilder.java @@ -502,7 +502,7 @@ public final class ProviderBuilder { * * @param seed Input seed (must not be null). * @return the native seed - * @throw UnsupportedOperationException if the {@code seed} type is invalid. + * @throws UnsupportedOperationException if the {@code seed} type is invalid. */ protected Object convertSeed(Object seed) { return nativeSeedType.convertSeed(seed, nativeSeedSize); @@ -513,7 +513,7 @@ public final class ProviderBuilder { * * @param seed Input seed (may be null). * @return the native seed. - * @throw UnsupportedOperationException if the {@code seed} type cannot be converted. + * @throws UnsupportedOperationException if the {@code seed} type cannot be converted. */ private Object createNativeSeed(Object seed) { return seed == null ?
