commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [codec][lang] LetterCase proposal
Date Thu, 04 Apr 2013 18:13:30 GMT
FWIW, +1! :)

-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Thu, Apr 4, 2013 at 3:48 PM, Gary Gregory <garydgregory@gmail.com> wrote:

> Hi All:
>
> I do not like using a boolean to say uppercase vs. lowercase, you can't
> tell what the code does when you see
>
> you.doIt("Foo", true)
>
> I'd like to use an Enum:
>
> you.doIt("Foo", LetterCase.UPPER);
>
> Here is what it would look like in [codec]: http://pastebin.com/HcyiqgCP
>
> Thoughts?
>
> How about doing the same in [lang]?
>
> Thoughts?
>
> Thank you,
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message