From dbac819ac9489db298d6c541c1df8528538d2417 Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Sun, 11 Aug 2024 21:37:35 -0400 Subject: [PATCH] Fix broken javadoc comments --- pom.xml | 2 +- .../java/com/mattrixwv/NumberAlgorithms.java | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index a06e4a8..859f016 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ com.mattrixwv myClasses - 1.3.6 + 1.3.7 myClasses A grouping of functions that I've found useful diff --git a/src/main/java/com/mattrixwv/NumberAlgorithms.java b/src/main/java/com/mattrixwv/NumberAlgorithms.java index 846daa6..c818dd6 100644 --- a/src/main/java/com/mattrixwv/NumberAlgorithms.java +++ b/src/main/java/com/mattrixwv/NumberAlgorithms.java @@ -602,9 +602,9 @@ public class NumberAlgorithms{ /** * Calculates the factorial of the specified number. * - * @param goalNumber the number to calculate the factorial for - * @return the factorial of {@code goalNumber} - * @throws IllegalArgumentException if {@code goalNumber} is negative + * @param num the number to calculate the factorial for + * @return the factorial of {@code num} + * @throws IllegalArgumentException if {@code num} is negative * @see #factorial(long) */ public static int factorial(int num) throws InvalidParameterException{ @@ -613,9 +613,9 @@ public class NumberAlgorithms{ /** * Calculates the factorial of the specified number. * - * @param goalNumber the number to calculate the factorial for - * @return the factorial of {@code goalNumber} - * @throws IllegalArgumentException if {@code goalNumber} is negative + * @param num the number to calculate the factorial for + * @return the factorial of {@code num} + * @throws IllegalArgumentException if {@code num} is negative */ public static long factorial(long num) throws InvalidParameterException{ long fact = 1L; //The value of the factorial @@ -634,9 +634,9 @@ public class NumberAlgorithms{ /** * Calculates the factorial of the specified number. * - * @param goalNumber the number to calculate the factorial for - * @return the factorial of {@code goalNumber} - * @throws IllegalArgumentException if {@code goalNumber} is negative + * @param num the number to calculate the factorial for + * @return the factorial of {@code num} + * @throws IllegalArgumentException if {@code num} is negative */ public static BigInteger factorial(BigInteger num) throws InvalidParameterException{ BigInteger fact = BigInteger.valueOf(1L);