mirror of
https://bitbucket.org/Mattrixwv/javaclasses.git
synced 2025-12-06 15:03:58 -05:00
Fix broken javadoc comments
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user