commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r655251 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
Date Sun, 11 May 2008 05:57:18 GMT
Author: bayard
Date: Sat May 10 22:57:18 2008
New Revision: 655251

URL: http://svn.apache.org/viewvc?rev=655251&view=rev
Log:
Removing the Cloneable interface from StrBuilder as per LANG-302

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java?rev=655251&r1=655250&r2=655251&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java Sat May
10 22:57:18 2008
@@ -62,12 +62,16 @@
  * with invalid indices or null input, have been altered - see individual methods.
  * The biggest of these changes is that by default, null will not output the text
  * 'null'. This can be controlled by a property, {@link #setNullText(String)}.
+ * <p>
+ * Prior to 3.0, this class implemented Cloneable but did not implement the 
+ * clone method so could not be used. From 3.0 onwards it no longer implements 
+ * the interface. 
  *
  * @author Stephen Colebourne
  * @since 2.2
  * @version $Id$
  */
-public class StrBuilder implements Cloneable {
+public class StrBuilder {
 
     /**
      * The extra capacity for new builders.



Mime
View raw message