Fix broken javadoc comments

This commit is contained in:
2024-08-11 21:37:35 -04:00
parent 3feefdb7dd
commit dbac819ac9
2 changed files with 10 additions and 10 deletions

View File

@@ -27,7 +27,7 @@
<groupId>com.mattrixwv</groupId>
<artifactId>myClasses</artifactId>
<version>1.3.6</version>
<version>1.3.7</version>
<name>myClasses</name>
<description>A grouping of functions that I've found useful</description>

View File

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