bayard      2002/09/18 12:53:52

  Modified:    lang/src/java/org/apache/commons/lang RandomStringUtils.java
  Log:
  And now i'll add a comment about the public constructor.
  
  Revision  Changes    Path
  1.4       +5 -2      
jakarta-commons/lang/src/java/org/apache/commons/lang/RandomStringUtils.java
  
  Index: RandomStringUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/RandomStringUtils.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RandomStringUtils.java    18 Sep 2002 19:52:26 -0000      1.3
  +++ RandomStringUtils.java    18 Sep 2002 19:53:52 -0000      1.4
  @@ -75,7 +75,10 @@
       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() {
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to