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 Tue, 25 Mar 2003 00:15:59 GMT
scolebourne    2003/03/24 16:15:58

  Modified:    lang/src/java/org/apache/commons/lang StringUtils.java
  Log:
  Deprecate clean() now trimToEmpty() is added
  
  Revision  Changes    Path
  1.39      +2 -1      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.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- StringUtils.java	24 Mar 2003 00:47:02 -0000	1.38
  +++ StringUtils.java	25 Mar 2003 00:15:58 -0000	1.39
  @@ -112,6 +112,7 @@
        * @see java.lang.String#trim()
        * @param str the String to check
        * @return the trimmed text (never <code>null</code>)
  +     * @deprecated use the clearer named trimToEmpty(String)
        */
       public static String clean(String str) {
           return (str == null ? "" : str.trim());
  
  
  

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


Mime
View raw message