This patch (committed) makes a small fix to the default constructor:
2006-07-26 David Gilbert <[EMAIL PROTECTED]>
* javax/swing/text/StringContent.java
(StringContent): Changed initialLength to 10.
Regards,
Dave
Index: javax/swing/text/StringContent.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/text/StringContent.java,v
retrieving revision 1.8
diff -u -r1.8 StringContent.java
--- javax/swing/text/StringContent.java 10 Feb 2006 14:24:03 -0000 1.8
+++ javax/swing/text/StringContent.java 26 Jul 2006 07:22:36 -0000
@@ -178,11 +178,13 @@
}
/**
- * Creates a new instance containing the string "\n".
+ * Creates a new instance containing the string "\n". This is equivalent
+ * to calling [EMAIL PROTECTED] #StringContent(int)} with an
<code>initialLength</code>
+ * of 10.
*/
public StringContent()
{
- this(1);
+ this(10);
}
/**