commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1400676 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random: RandomDataGenerator.java ValueServer.java
Date Sun, 21 Oct 2012 16:41:38 GMT
Author: tn
Date: Sun Oct 21 16:41:38 2012
New Revision: 1400676

URL: http://svn.apache.org/viewvc?rev=1400676&view=rev
Log:
Small fixes of javadoc @throws tags.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java?rev=1400676&r1=1400675&r2=1400676&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
Sun Oct 21 16:41:38 2012
@@ -535,8 +535,6 @@ public class RandomDataGenerator impleme
      * endpoints excluded).
      * </p>
      *
-     * @throws N if one of the bounds is infinite or
-     * {@code NaN}
      * @throws NumberIsTooLargeException if {@code lower >= upper}
      * @throws NotFiniteNumberException if one of the bounds is infinite
      * @throws NotANumberException if one of the bounds is not a number

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java?rev=1400676&r1=1400675&r2=1400676&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ValueServer.java
Sun Oct 21 16:41:38 2012
@@ -179,8 +179,8 @@ public class ValueServer {
      * with <code>mode = DIGEST_MODE</code></p>
      *
      * @throws IOException if an I/O error occurs reading the input file
-     * @throws NullArgumentException
-      * @throws ZeroException if URL contains no data
+     * @throws NullArgumentException if the {@code valuesFileURL} has not been set
+     * @throws ZeroException if URL contains no data
      */
     public void computeDistribution() throws IOException, ZeroException, NullArgumentException
{
         computeDistribution(EmpiricalDistribution.DEFAULT_BIN_COUNT);
@@ -198,7 +198,7 @@ public class ValueServer {
      *
      * @param binCount the number of bins used in computing the empirical
      * distribution
-     * @throws NullArgumentException
+     * @throws NullArgumentException if the {@code valuesFileURL} has not been set
      * @throws IOException if an error occurs reading the input file
      * @throws ZeroException if URL contains no data
      */



Mime
View raw message