commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [codec][lang] LetterCase proposal
Date Thu, 04 Apr 2013 20:37:22 GMT
Le 04/04/2013 22:12, sebb a écrit :

> The enum is two-state only; the duplication is tiny.

The duplication will create a confusion in projects using lang and codec
(which is quite common). Typically the auto import popup in IntelliJ
will suggest the two alternatives when trying to resolve the LetterCase
enum, and the hesitation to select the good one is at least equivalent
to the unintuitive boolean value for upper/lower cases.

Emmanuel Bourg



Mime
View raw message