On Sun, Apr 3, 2011 at 7:10 PM, Gary Gregory <garydgreg...@gmail.com> wrote: > On Sun, Apr 3, 2011 at 7:47 PM, Henri Yandell <flame...@gmail.com> wrote: >> >> I've rolled the code back. Now I'm thinking the following are >> candidates to roll back to String: >> >> public static String stripAccents(CharSequence input) { >> public static String capitalize(CharSequence cs) { >> public static String uncapitalize(CharSequence cs) { >>
<snip> >> >> Basic rules being 'if String is returned, then String should be passed >> in' and 'if other than String is returned, pass in CharSequence'. > > Like it. +1 I've rolled back capitalize and uncapitalize. I'm leaving stripAccents as it sits on top of an underlying API that is CharSequence based - ie) the JDK has already declared a CharSequence in; String out behaviour. Hen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org