diff options
Diffstat (limited to 'libjava/classpath/java/util/AbstractMap.java')
-rw-r--r-- | libjava/classpath/java/util/AbstractMap.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/java/util/AbstractMap.java b/libjava/classpath/java/util/AbstractMap.java index 02a30a294de..5d59db9a666 100644 --- a/libjava/classpath/java/util/AbstractMap.java +++ b/libjava/classpath/java/util/AbstractMap.java @@ -39,6 +39,8 @@ exception statement from your version. */ package java.util; +import gnu.java.lang.CPStringBuilder; + import java.io.Serializable; /** @@ -524,7 +526,7 @@ public abstract class AbstractMap<K, V> implements Map<K, V> public String toString() { Iterator<Map.Entry<K, V>> entries = entrySet().iterator(); - StringBuilder r = new StringBuilder("{"); + CPStringBuilder r = new CPStringBuilder("{"); for (int pos = size(); pos > 0; pos--) { Map.Entry<K, V> entry = entries.next(); |