On 25 May 2012 01:48, Sébastien Brisard <[email protected]> wrote: > Hi Luc, > > 2012/5/24 Luc Maisonobe <[email protected]>: >> 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: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
