The JDK is the only source allowed to modify java.lang.String, so
they'd likely add static methods to that directly like String.join()
and the others. The plural name thing was more of an issue with an
interface Thing and utility class Things. As of Java 8, there's
typically no need to have a Things class because the Thing interface
can have static methods on it. For example, see all the static methods
added to Comparator that would have typically gone into a class named
Comparators (like Collector/Collectors).

On Tue, 4 Jun 2019 at 06:07, Xeno Amess <xenoam...@gmail.com> wrote:
>
> Then 10 years later JDK has its own Strings, and users get confused then.
>
> Emmanuel Bourg <ebo...@apache.org> 于2019年6月4日周二 下午6:58写道:
>
> > Le 28/05/2019 à 13:46, Gary Gregory a écrit :
> >
> > > Thoughts?
> >
> > Maybe we could make a more ambitious 'Strings' class with methods taken
> > from StringUtils and refactored with a fluent API to avoid the
> > combinatorial explosion of StringUtils? Just a wild idea.
> >
> > Emmanuel Bourg
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >



-- 
Matt Sicker <boa...@gmail.com>

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

Reply via email to