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 2012/10/05 21:54:00 UTC
svn commit: r1394763 - in
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random:
RandomDataImpl.java StableRandomGenerator.java ValueServer.java
Author: psteitz
Date: Fri Oct 5 19:54:00 2012
New Revision: 1394763
URL: http://svn.apache.org/viewvc?rev=1394763&view=rev
Log:
Removed trailing spaces.
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.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/RandomDataImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java?rev=1394763&r1=1394762&r2=1394763&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java Fri Oct 5 19:54:00 2012
@@ -546,7 +546,7 @@ public class RandomDataImpl implements R
*
* @param distribution Continuous distribution to generate a random value from
* @return a random value sampled from the given distribution
- * @throws MathIllegalArgumentException if the underlynig distribution throws one
+ * @throws MathIllegalArgumentException if the underlynig distribution throws one
* @since 2.2
* @deprecated use the distribution's sample() method
*/
@@ -562,7 +562,7 @@ public class RandomDataImpl implements R
*
* @param distribution Integer distribution to generate a random value from
* @return a random value sampled from the given distribution
- * @throws MathIllegalArgumentException if the underlynig distribution throws one
+ * @throws MathIllegalArgumentException if the underlynig distribution throws one
* @since 2.2
* @deprecated use the distribution's sample() method
*/
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java?rev=1394763&r1=1394762&r2=1394763&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/StableRandomGenerator.java Fri Oct 5 19:54:00 2012
@@ -52,8 +52,8 @@ public class StableRandomGenerator imple
* @param alpha Stability parameter. Must be in range (0, 2]
* @param beta Skewness parameter. Must be in range [-1, 1]
* @throws NullArgumentException if generator is null
- * @throws OutOfRangeException if {@code alpha <= 0} or {@code alpha > 2}
- * or {@code beta < -1} or {@code beta > 1}
+ * @throws OutOfRangeException if {@code alpha <= 0} or {@code alpha > 2}
+ * or {@code beta < -1} or {@code beta > 1}
*/
public StableRandomGenerator(final RandomGenerator generator,
final double alpha, final double beta)
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=1394763&r1=1394762&r2=1394763&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 Fri Oct 5 19:54:00 2012
@@ -179,7 +179,7 @@ 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 NullArgumentException
* @throws ZeroException if URL contains no data
*/
public void computeDistribution() throws IOException, ZeroException, NullArgumentException {
@@ -198,7 +198,7 @@ public class ValueServer {
*
* @param binCount the number of bins used in computing the empirical
* distribution
- * @throws NullArgumentException
+ * @throws NullArgumentException
* @throws IOException if an error occurs reading the input file
* @throws ZeroException if URL contains no data
*/