commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r1042610 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/RealVector.java
Date Mon, 06 Dec 2010 17:25:59 GMT
On 6 December 2010 17:17, Gilles Sadowski <gilles@harfang.homelinux.org> wrote:
>> > @@ -250,10 +250,7 @@ public interface RealVector {
>> >      *
>> >      * @param d Operator value.
>> >      * @return a mapped copy of the vector.
>> > -     * @deprecated in 2.2 (to be removed in 3.0). Please use
>> > -     * {@link #map(UnivariateRealFunction)} directly with
>> > -     * the function classes in package
>> > -     * {@link org.apache.commons.math.analysis.function}.
>> > +     * @deprecated in 2.2 (to be removed in 3.0).
>>
>> Why not leave the reference to #map(UnivariateRealFunction) ?
>
> Because the package "function" does not exist in MATH_2_X.

I know that, but #map(UnivariateRealFunction) does exist (in the same
source file).

It was only the reference to the package name that was wrong.

If the replacement for the deprecated methods is not
#map(UnivariateRealFunction), then whatever is the replacement should
be specified in the Javadoc.

>> [...]
>
> Gilles
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message