Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
I noticed that both RandomUtils and RandomStringUtils use a constant for the Random instance. The javadoc for Random indicates that ThreadLocalRandom should be used for performance in multithreaded designs. I would think that a public utility class would qualify as a multithreaded design and should therefore use ThreadLocalRandom