summaryrefslogtreecommitdiff
path: root/java/text/AttributedString.java
diff options
context:
space:
mode:
authorAaron M. Renn <arenn@urbanophile.com>1999-03-31 01:49:24 +0000
committerAaron M. Renn <arenn@urbanophile.com>1999-03-31 01:49:24 +0000
commitd282982c975a5f6938ad4b2a78c5c7ed4895c0b8 (patch)
tree4014534520f85eb20f504219796ad06cea2628a1 /java/text/AttributedString.java
parentff2af0bd7453204473a2cd65579b78fb6e462d2d (diff)
downloadclasspath-d282982c975a5f6938ad4b2a78c5c7ed4895c0b8.tar.gz
Fix stupid bug where attribs wasn't initialized in some constructors.
Diffstat (limited to 'java/text/AttributedString.java')
-rw-r--r--java/text/AttributedString.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/text/AttributedString.java b/java/text/AttributedString.java
index 64a5722f9..5d24b31b2 100644
--- a/java/text/AttributedString.java
+++ b/java/text/AttributedString.java
@@ -118,6 +118,7 @@ public
AttributedString(String str)
{
sci = new StringCharacterIterator(str);
+ attribs = new AttributeRange[0];
}
/*************************************************************************/