Hello everybody,
with 3.5 we deprecated RandomStringUtils in favor of
RandomStringGenerator in commons-text.
https://issues.apache.org/jira/browse/TEXT-96 complains that
"RandomStringGenerator is extremely verbose compared to the deprecated
commons.lang3 RandomStringUtils."
From my experience taking a look at migrating a project from
RandomStringUtils to RandomStringGenerator I have to agree. Some
convenience methods will be added with the next commons text release,
but it still won't be as easy to use as RandomStringUtils. For course
RandomStringGenerator gives the user more options, but most usage of
RandomStringUtils I have seen was just for tests or other simple
use-cases where these option are not required.
Maybe we should just remove the RandomStringUtils deprecation or add the
whole class untouched to commons-text?
What do you think?
Cheers,
Pascal