I am wondering what is the difference between Apache Commons Lang3 (org.apache.commons.lang3
) vs Apache Commons Text (org.apache.commons.text
)?
I saw many similarities between them.
For intance, they both have StringEscapeUtils
:
- org.apache.commons.lang3.StringEscapeUtils, which is Deprecated.
- org.apache.commons.text.StringEscapeUtils
But I also saw many differences.
So which one should I use, Lang3 or Text?
Or what are the common use cases for each of these two?