summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/sound/sampled/DataLine.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/sound/sampled/DataLine.java')
-rw-r--r--libjava/classpath/javax/sound/sampled/DataLine.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/javax/sound/sampled/DataLine.java b/libjava/classpath/javax/sound/sampled/DataLine.java
index b7cb70e4931..4482c9885db 100644
--- a/libjava/classpath/javax/sound/sampled/DataLine.java
+++ b/libjava/classpath/javax/sound/sampled/DataLine.java
@@ -37,6 +37,8 @@ exception statement from your version. */
package javax.sound.sampled;
+import gnu.java.lang.CPStringBuilder;
+
/**
* The DataLine interface adds data-related functionality to the Line
* interface. For example, it adds methods to start and stop the data
@@ -180,7 +182,7 @@ public interface DataLine extends Line
*/
public String toString()
{
- StringBuffer result = new StringBuffer();
+ CPStringBuilder result = new CPStringBuilder();
result.append("formats: [");
for (int i = 0; i < formats.length; ++i)
{