You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2003/06/24 04:55:18 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang StringUtils.java

bayard      2003/06/23 19:55:17

  Modified:    lang/src/java/org/apache/commons/lang StringUtils.java
  Log:
  Deprecated unescape method.
  
  Revision  Changes    Path
  1.49      +3 -2      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.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- StringUtils.java	23 Jun 2003 03:51:13 -0000	1.48
  +++ StringUtils.java	24 Jun 2003 02:55:17 -0000	1.49
  @@ -1187,9 +1187,10 @@
        * unless the '\' is preceded by another '\'.
        * <p>
        * As of Lang 2.0, this calls {@link StringEscapeUtils#unescapeJava(java.lang.String)}
  -     * behind the scenes.  For convenience, this method is not deprecated.
  +     * behind the scenes. 
        * <p>
        * @see StringEscapeUtils#unescapeJava(java.lang.String)
  +     * @deprecated Use {@link StringEscapeUtils#unescapeJava(java.lang.String)}
        */
       public static String unescape(String str) {
           return StringEscapeUtils.unescapeJava(str);
  
  
  

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