summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/text/AttributedString.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/text/AttributedString.java')
-rw-r--r--libjava/classpath/java/text/AttributedString.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/java/text/AttributedString.java b/libjava/classpath/java/text/AttributedString.java
index 6785bd3c58f..cb338bfe8df 100644
--- a/libjava/classpath/java/text/AttributedString.java
+++ b/libjava/classpath/java/text/AttributedString.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package java.text;
+import gnu.java.lang.CPStringBuilder;
+
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
@@ -182,7 +184,7 @@ public class AttributedString
if ((begin < 0) || (end < begin) || end > aci.getEndIndex())
throw new IllegalArgumentException("Bad index values");
- StringBuffer sb = new StringBuffer("");
+ CPStringBuilder sb = new CPStringBuilder("");
// Get the valid attribute list
Set allAttribs = aci.getAllAttributeKeys();