Gilles Sadowski wrote:
>>> Sorry I did not notice this before.  I see it now flagged by the
>>> Clirr report.  The problem is here:
>>>
>>> -    public BivariateRealFunction interpolate(final double[] xval,
>>> -                                             final double[] yval,
>>> -                                             final double[][] zval)
>>> +    public BicubicSplineInterpolatingFunction interpolate(final
>>>
>>> Changing the return type of a function is an incompatible change.
>>> We should revert this change.
>>>
>> Even though BicubicSplineInterpolatingFunction implements
>> BivariateRealFunction ?
> 
> Hence, this is not an incompatible change.

Unfortunately, no.  See
http://commons.apache.org/releases/versioning.html
http://java.sun.com/docs/books/jls/third_edition/html/binaryComp.html
(13.4.15)
http://wiki.eclipse.org/Evolving_Java-based_APIs_2

Clients that recompile and just use the method will not break.
Clients that do not recompile and/or extend the class may break.

Phil
> 
> Gilles
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to