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);