And now i'll add a comment about the public constructor.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137042 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2002-09-18 19:53:52 +00:00
parent 01a6edec03
commit 06ad5b4b6b

View File

@ -63,7 +63,7 @@
* @author <a href="mailto:bayard@generationjava.com">Henri Yandell</a>
* @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
* @version $Id: RandomStringUtils.java,v 1.3 2002/09/18 19:52:26 bayard Exp $
* @version $Id: RandomStringUtils.java,v 1.4 2002/09/18 19:53:52 bayard Exp $
*/
public class RandomStringUtils {
@ -75,7 +75,10 @@ public class RandomStringUtils {
private static final Random RANDOM = new Random();
/**
* Prevent construction of RandomStringUtils instances
* RandomStringUtils instances should NOT be constructed in standard programming.
* Instead, the class should be used as <code>RandomStringUtils.random(5);</code>.
* This constructor is public to permit tools that require a JavaBean instance
* to operate.
*/
public RandomStringUtils() {
}