You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2011/01/01 20:36:44 UTC

svn commit: r1054275 - in /commons/proper/math: branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java trunk/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java

Author: psteitz
Date: Sat Jan  1 19:36:43 2011
New Revision: 1054275

URL: http://svn.apache.org/viewvc?rev=1054275&view=rev
Log:
Javadoc only.  Added missing @throws tag.

Modified:
    commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java

Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java?rev=1054275&r1=1054274&r2=1054275&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java (original)
+++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java Sat Jan  1 19:36:43 2011
@@ -256,10 +256,11 @@ public abstract class AbstractIntegerDis
      * Computes the cumulative probability function and checks for NaN values returned.
      * Throws MathException if the value is NaN. Rethrows any MathException encountered
      * evaluating the cumulative probability function. Throws
-     * MathException of the cumulative probability function returns NaN.
+     * MathException if the cumulative probability function returns NaN.
      *
      * @param argument input value
      * @return cumulative probability
+     * @throws MathException if the cumulative probability is NaN
      */
     private double checkedCumulativeProbability(int argument) throws MathException {
         double result = Double.NaN;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java?rev=1054275&r1=1054274&r2=1054275&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java Sat Jan  1 19:36:43 2011
@@ -255,10 +255,11 @@ public abstract class AbstractIntegerDis
      * values returned.
      * Throws MathException if the value is NaN. Rethrows any MathException encountered
      * evaluating the cumulative probability function. Throws
-     * MathException of the cumulative probability function returns NaN.
+     * MathException if the cumulative probability function returns NaN.
      *
      * @param argument Input value.
      * @return the cumulative probability.
+     * @throws MathException if the cumulative probability is NaN
      */
     private double checkedCumulativeProbability(int argument)
         throws MathException {