On Sat, 19 Apr 2014 01:27:33 -0000, pste...@apache.org wrote:
Author: psteitz
Date: Sat Apr 19 01:27:33 2014
New Revision: 1588601
URL: http://svn.apache.org/r1588601
Log:
Removed deprecations of test(.) methods.
Why?
Gilles
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java?rev=1588601&r1=1588600&r2=1588601&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java
Sat Apr 19 01:27:33 2014
@@ -151,9 +151,7 @@ public abstract class AbstractUnivariate
* @param length the number of elements to include
* @return true if the parameters are valid and designate a
subarray of positive length
* @throws MathIllegalArgumentException if the indices are
invalid or the array is null
- * @deprecated 3.3 Use {@link MathArrays#verifyValues(double[],
int, int)} instead
*/
- @Deprecated
protected boolean test(
final double[] values,
final int begin,
@@ -181,9 +179,7 @@ public abstract class AbstractUnivariate
* @return true if the parameters are valid
* @throws MathIllegalArgumentException if the indices are
invalid or the array is null
* @since 3.0
- * @deprecated 3.3 Use {@link MathArrays#verifyValues(double[],
int, int, boolean)} instead
*/
- @Deprecated
protected boolean test(final double[] values, final int begin,
final int length, final boolean allowEmpty) throws
MathIllegalArgumentException {
return MathArrays.verifyValues(values, begin, length,
allowEmpty);
@@ -217,9 +213,7 @@ public abstract class AbstractUnivariate
* @return true if the parameters are valid and designate a
subarray of positive length
* @throws MathIllegalArgumentException if the indices are
invalid or the array is null
* @since 2.1
- * @deprecated 3.3 Use {@link MathArrays#verifyValues(double[],
double[], int, int)} instead
*/
- @Deprecated
protected boolean test(
final double[] values,
final double[] weights,
@@ -260,9 +254,7 @@ public abstract class AbstractUnivariate
* the weights array contains NaN, infinite or negative
elements, or there
* are no positive weights.
* @since 3.0
- * @deprecated 3.3 Use {@link MathArrays#verifyValues(double[],
double[], int, int, boolean)} instead
*/
- @Deprecated
protected boolean test(final double[] values, final double[]
weights,
final int begin, final int length, final boolean
allowEmpty) throws MathIllegalArgumentException {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org