On 9/1/2021 5:33 PM, Ted Teichrieb wrote:
After a lot of googling to solve what I thought was a config issue, I
finally checked the source code at
https://github.com/apache/commons-text/blob/master/src/main/java/org/apache/commons/text/StringEscapeUtils.java
<https://github.com/apache/commons-text/blob/master/src/main/java/org/apache/commons/text/StringEscapeUtils.java>
and found that it is importing “org.apache.commons.lang3.StringUtils”.
Please either:
* Remove the dependency on the lang 3 library
* Document on the Overview page
<https://commons.apache.org/proper/commons-text/index.html> that the
lang 3 library is required with a link to download it.
I personally would prefer that the dependency be removed. I am not an
experienced Java developer, but it appears that the lang 3 library is
only used to indicate an empty string, which could easily be defined
locally.
I'm a lurker on this list. Originally joined in 2015 to ask some
questions about dbcp, and have stuck around being quiet. I'm active in
other Apache communities, Solr in particular.
Did you examine anything other than the source for StringEscapeUtils?
Doing a "git grep lang3" on the master branch for commons-text returns a
LOT more uses than that one, see the paste link below. Removing the
dependency is definitely not a simple matter.
https://apaste.info/Sot7
Thanks,
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org