You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Benedikt Ritter <br...@apache.org> on 2014/10/09 19:28:53 UTC

Re: [lang] Any objections to implementing LANG-1037?

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 <du...@wortharead.com>:

> On 11 September 2014 14:49, Gary Gregory <ga...@gmail.com> wrote:
> > On Thu, Sep 11, 2014 at 9:45 AM, sebb <se...@gmail.com> wrote:
> >
> >> On 11 September 2014 14:41, Gary Gregory <ga...@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 <dj...@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-unsubscribe@commons.apache.org
> >> >> For additional commands, e-mail: dev-help@commons.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > E-Mail: garydgregory@gmail.com | ggregory@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-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >>
> >
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@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-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter