Removed exception from throws clause which is never thrown.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1387637 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
322fde4ec5
commit
b245e08d24
|
@ -332,7 +332,7 @@ public final class ArithmeticUtils {
|
|||
* @return {@code n!}
|
||||
* @throws NotPositiveException if {@code n < 0}.
|
||||
*/
|
||||
public static double factorialDouble(final int n) throws NotPositiveException, MathArithmeticException {
|
||||
public static double factorialDouble(final int n) throws NotPositiveException {
|
||||
if (n < 0) {
|
||||
throw new NotPositiveException(LocalizedFormats.FACTORIAL_NEGATIVE_PARAMETER,
|
||||
n);
|
||||
|
|
Loading…
Reference in New Issue