btw, is there a roadmap/timeline for 4.0?
And will we continue maintaining 3.x then?

Gary Gregory <garydgreg...@gmail.com> 于2020年7月26日周日 下午7:25写道:

> Note that Lang does not and should not depend on Text for example. Some
> classes that are in Lang now have been deprecated in favor of similar
> functionality in Text, the Str[ing]Substitutor packages for instance. We
> can remove that Lang code in 4.0.
>
> Gary
>
> On Sun, Jul 26, 2020, 04:16 Bruno P. Kinoshita <ki...@apache.org> wrote:
>
> > Not following the thread, but from your explanation it sounds OK to me.
> > There are other parts of Lang that could do with some trimming for a
> future
> > 4.x release I think, either moving some code to other components or
> > suggesting the use of JVM code (e.g. some of the date/time methods).
> >
> >
> > Bruno
> >
> >
> >
> >
> >
> >
> > On Sunday, 26 July 2020, 6:26:05 am NZST, Gilles Sadowski <
> > gillese...@gmail.com> wrote:
> >
> >
> >
> >
> >
> > Hello.
> >
> > In the thread[1] from which the below quote is extracted:
> > > Would you be willing to provide a PR that deprecates the relevant APIs
> > and
> > > points to their equivalent in RNG? It will be more cruft we can trim
> for
> > > 4.0, whenever that happens.
> > Gary mentions that copy/paste is a "coding horror".  My understanding
> > is that he advises dropping functionality available from "Commons RNG"
> > (or a trivial use of it).
> > Case in point is a bug recently reported.[2]
> >
> > The change amounts to removing "RandomUtils"[3] and moving all
> > functionality from "RandomStringUtils"[4] (and removing it too) over
> > to "Commons Text" that already defines several similar (perhaps all?)
> > utilities[5] using a more robust approach.
> >
> > Is everyone on the same page?
> >
> > Regards,
> > Gilles
> >
> > [1] https://markmail.org/message/s2o3c57537id37jt
> > [2] https://issues.apache.org/jira/browse/LANG-1592
> > [3]
> >
> https://gitbox.apache.org/repos/asf?p=commons-lang.git;a=blob;f=src/main/java/org/apache/commons/lang3/RandomUtils.java;h=b1c7f0fb147c586a57cd498734bfb5bc92f19f37;hb=HEAD
> > [4]
> >
> https://gitbox.apache.org/repos/asf?p=commons-lang.git;a=blob;f=src/main/java/org/apache/commons/lang3/RandomStringUtils.java;h=0d6df4eed0d91bbd32ad378c28400fdf049ee542;hb=HEAD
> > [5]
> >
> https://gitbox.apache.org/repos/asf?p=commons-text.git;a=blob;f=src/main/java/org/apache/commons/text/RandomStringGenerator.java;h=d8e38e4614dba548ef764225b87626f3a4cda434;hb=HEAD
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >
>

Reply via email to