commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang StringUtils.java
Date Fri, 23 Aug 2002 08:00:26 GMT
scolebourne    2002/08/23 01:00:26

  Modified:    lang/src/java/org/apache/commons/lang StringUtils.java
  Log:
  Constrctor made public to enable those who use the class as a Bean
  
  Revision  Changes    Path
  1.7       +6 -3      jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java
  
  Index: StringUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StringUtils.java	1 Aug 2002 20:15:43 -0000	1.6
  +++ StringUtils.java	23 Aug 2002 08:00:26 -0000	1.7
  @@ -91,9 +91,12 @@
       public static int CHAR_BUFFER_SIZE = 4 * 1024;
       
       /**
  -     * Prevent construction of StringUtils instances
  +     * StringUtils instances should NOT be constructed in standard programming.
  +     * Instead, the class should be used as <code>StringUtils.trim(" foo ");</code>.
  +     * This constructor is public to permit tools that require a JavaBean instance
  +     * to operate.
        */
  -    private StringUtils() {
  +    public StringUtils() {
       }
   
       // Empty
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message