Commons Text could also be a host for the string metrics we have implemented recently...
2014-09-11 15:58 GMT+02:00 Duncan Jones <dun...@wortharead.com>: > On 11 September 2014 14:49, Gary Gregory <garydgreg...@gmail.com> wrote: > > On Thu, Sep 11, 2014 at 9:45 AM, sebb <seb...@gmail.com> wrote: > > > >> On 11 September 2014 14:41, Gary Gregory <garydgreg...@gmail.com> > wrote: > >> > To me, it feels out of scope for [lang]. I would never expect this to > be > >> in > >> > java.lang for example. > >> > >> Agreed. > >> > > > > I see room in Commons for a [text] component for this kind of work. > > > > I would -1 this change and +1 [text]. > > > > Gary > > Ok, this sounds like a better idea. Thanks for the input. > > > > > > >> > >> > Gary > >> > > >> > On Thu, Sep 11, 2014 at 8:54 AM, Duncan Jones <djo...@apache.org> > wrote: > >> > > >> >> Hi, > >> >> > >> >> I raised https://issues.apache.org/jira/browse/LANG-1037 recently, > >> >> which would add support to StringUtils for joining lists of strings > >> >> with a different end separator. The idea is to support use cases such > >> >> as: > >> >> > >> >> join(["a", "b", "c"], ", ", " and ") = "a, b and c". > >> >> > >> >> Does anyone have any objections to me implementing this? My Jira > issue > >> >> lists the three methods I would propose to add. > >> >> > >> >> Kind regards, > >> >> > >> >> Duncan > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > >> >> For additional commands, e-mail: dev-h...@commons.apache.org > >> >> > >> >> > >> > > >> > > >> > -- > >> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > >> > Java Persistence with Hibernate, Second Edition > >> > <http://www.manning.com/bauer3/> > >> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > >> > Spring Batch in Action <http://www.manning.com/templier/> > >> > Blog: http://garygregory.wordpress.com > >> > Home: http://garygregory.com/ > >> > Tweet! http://twitter.com/GaryGregory > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > >> For additional commands, e-mail: dev-h...@commons.apache.org > >> > >> > > > > > > -- > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > > Java Persistence with Hibernate, Second Edition > > <http://www.manning.com/bauer3/> > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > > Spring Batch in Action <http://www.manning.com/templier/> > > Blog: http://garygregory.wordpress.com > > Home: http://garygregory.com/ > > Tweet! http://twitter.com/GaryGregory > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter