commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [math] LocalizedFormats.ALPHA and BETA no longer used
Date Fri, 25 May 2012 02:28:52 GMT
On 25 May 2012 01:48, Sébastien Brisard <sebastien.brisard@m4x.org> wrote:
> Hi Luc,
>
> 2012/5/24 Luc Maisonobe <Luc.Maisonobe@free.fr>:
>> Le 24/05/2012 21:27, Sébastien Brisard a écrit :
>>> Hi,
>>> commit 1342404 solves MATH-791. It turns out that
>>> LocalizedFormats.ALPHA and BETA are no longer used. I wanted to remove
>>> them, but that breaks the compatibility. How should we do that
>>> cleanly?
>>
>> Just remove the entries from the enum and temove the corresponding entry
>> in the translation properties file.
>>
> I'm sorry, I should have mentioned that I've tried that, but it breaks
> compatibility (these field are public).
> Can we "deprecate" a field?

You can deprecate a field.

However, if a public field is not part of the user API - e.g. it's
only public to allow access within CM code - then breaking compat is
not a problem, because users should never reference the field.

> Best regards,
> Sébastien
>
>
> ---------------------------------------------------------------------
> 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