You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/09/19 17:21:58 UTC

svn commit: r1387637 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java

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