Author: tn
Date: Wed Sep 19 15:21:57 2012
New Revision: 1387637
URL: http://svn.apache.org/viewvc?rev=1387637&view=rev
Log:
Removed exception from throws clause which is never thrown.
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java?rev=1387637&r1=1387636&r2=1387637&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java
Wed Sep 19 15:21:57 2012
@@ -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);