Gary Gregory 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?

you.doItUpper("Foo")
you.DoItLower("Foo")

If the enum only has two states, this solution is worth a thought. And we 
have no ambiguity between lan and codec.

> How about doing the same in [lang]?
> 
> Thoughts?

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to