On 25 May 2012 01:48, Sébastien Brisard <sebastien.bris...@m4x.org> wrote:
> Hi Luc,
>
> 2012/5/24 Luc Maisonobe <luc.maison...@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-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