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 2014/04/19 03:27:33 UTC
svn commit: r1588601 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java
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.
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 {
Re: svn commit: r1588601 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java
Posted by Phil Steitz <ph...@gmail.com>.
On 4/19/14, 2:34 AM, Gilles wrote:
> On Sat, 19 Apr 2014 01:27:33 -0000, psteitz@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
>
We talked about this a while back and I forgot to commit the
changes. See this thread:
http://markmail.org/message/duj325s5jhvhqqmu
Sorry for the seemingly random late commit. I was cleaning up my
local checkout and noticed I had forgotten to do it.
Phil
>>
>> 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-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r1588601 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/AbstractUnivariateStatistic.java
Posted by Gilles <gi...@harfang.homelinux.org>.
On Sat, 19 Apr 2014 01:27:33 -0000, psteitz@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org