On Wed, 6 Aug 2025 at 08:46, Piotr P. Karwasz <pi...@mailing.copernik.eu> wrote:
> > Hi Gary, > > On 6.08.2025 00:00, Gary Gregory wrote: > > In both branch 1.X and master, the class ConstructorUtils is unused > > and duplicates APIs in Commons Lang. > > > > I propose to drop it from master, which will be 2.0 when finalized. > > What should be the demarcation between Commons Text, Commons Lang, and > Commons BeanUtils: > > - Operations on Java primitive values, arrays, and locale-independent > strings used in configurations or business logic clearly belong in > Lang. > > - Handling of text for UI display belongs in Text. > > - String interpolation also falls under Text. > > - Everything that deals with `java.beans` should be in BeanUtils. > > - I’m less certain about reflection logic: BeanUtils feels like > the natural home, although Lang currently also contains duplicates of > it. > I looked at the history and classes like `MethodUtils` appeared in > BeanUtils two years before they were moved to Lang (2008 vs 2010). MethodUtils was added to BeanUtils in 2001 https://lists.apache.org/thread/jrb99d08v8zdh99gxv214pfqgobvg7y0 Niall > > Piotr > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >