aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/java/awt/datatransfer
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/awt/datatransfer')
-rw-r--r--libjava/classpath/java/awt/datatransfer/MimeType.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/java/awt/datatransfer/MimeType.java b/libjava/classpath/java/awt/datatransfer/MimeType.java
index 438d78e..8d2dcc0 100644
--- a/libjava/classpath/java/awt/datatransfer/MimeType.java
+++ b/libjava/classpath/java/awt/datatransfer/MimeType.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package java.awt.datatransfer;
+import gnu.java.lang.CPStringBuilder;
+
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
@@ -224,7 +226,7 @@ class MimeType
*/
public String toString()
{
- StringBuilder s = new StringBuilder();
+ CPStringBuilder s = new CPStringBuilder();
s.append(primaryType);
s.append('/');
s.append(subType);