summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/accessibility/AccessibleRelationSet.java')
-rw-r--r--libjava/classpath/javax/accessibility/AccessibleRelationSet.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/javax/accessibility/AccessibleRelationSet.java b/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
index 49161d77e9d..0770fdbeb78 100644
--- a/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
+++ b/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
@@ -37,6 +37,8 @@ exception statement from your version. */
package javax.accessibility;
+import gnu.java.lang.CPStringBuilder;
+
import java.util.Locale;
import java.util.Vector;
@@ -216,7 +218,7 @@ public class AccessibleRelationSet
if (i == 0)
return "";
// Pre-allocate an average of 10 chars per state.
- StringBuffer b = new StringBuffer(i * 10);
+ CPStringBuilder b = new CPStringBuilder(i * 10);
while (--i >= 0)
b.append(relations.get(i)).append(',');
return b.substring(0, b.length() - 1);