Re: New component proposal: commons-foo or better commons-text

2022-04-07 Thread Ralph Goers
The Log4j variation used StrSubstitutor straight from Commons (wherever it was located at the time) but then had to modify some of the methods to accept LogEvents. To do this StringSubstitutor would have to be modified to be StringSubstitutor and allow an object of type T to be passed to the re

New component proposal: commons-foo or better commons-text

2022-04-07 Thread Gary Gregory
The log4j variable interpolation, the ${lookup:variable} type of logic is in many places: deprecated in Commons Lang, now in Commons Text, also implemented in Commons Configuration. We could bring in the Log4j version, now safer than other implementations into Commons Text or a new component and ev