diff --git a/src/java/org/apache/commons/lang/StringUtils.java b/src/java/org/apache/commons/lang/StringUtils.java index ffaf658f5..77de643c9 100644 --- a/src/java/org/apache/commons/lang/StringUtils.java +++ b/src/java/org/apache/commons/lang/StringUtils.java @@ -79,7 +79,7 @@ * @author Arun Mammen Thomas * @author Gary Gregory * @since 1.0 - * @version $Id: StringUtils.java,v 1.54 2003/07/14 22:26:51 scolebourne Exp $ + * @version $Id: StringUtils.java,v 1.55 2003/07/14 23:02:08 scolebourne Exp $ */ public class StringUtils { @@ -1005,9 +1005,9 @@ public static String center(String str, int size, String delim) { * otherwise leave it alone. A newline is "\n", * "\r", or "\r\n".

* - *

Note that this behavior has changed from 1.0. It - * now more closely matches Perl chomp. For the previous behavior, - * use {@link #slice(String)}.

+ *

NOTE: This method changed in 2.0. + * It now more closely matches Perl chomp. + * For the previous behavior, use {@link #slice(String)}.

* * @param str String to chomp a newline from * @return String without newline @@ -1046,9 +1046,9 @@ public static String chomp(String str) { *

Remove separator from the end of * str if it's there, otherwise leave it alone.

* - *

Note that this behavior has changed from 1.0. It - * now more closely matches Perl chomp. For the previous behavior, - * use {@link #slice(String,String)}.

+ *

NOTE: This method changed in version 2.0. + * It now more closely matches Perl chomp. + * For the previous behavior, use {@link #slice(String,String)}.

* * @param str string to chomp from * @param separator separator string