summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java/net/protocol/http/Headers.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/gnu/java/net/protocol/http/Headers.java')
-rw-r--r--libjava/classpath/gnu/java/net/protocol/http/Headers.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/gnu/java/net/protocol/http/Headers.java b/libjava/classpath/gnu/java/net/protocol/http/Headers.java
index c8736bbac8f..690a0c65bd0 100644
--- a/libjava/classpath/gnu/java/net/protocol/http/Headers.java
+++ b/libjava/classpath/gnu/java/net/protocol/http/Headers.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package gnu.java.net.protocol.http;
+import gnu.java.lang.CPStringBuilder;
+
import gnu.java.net.LineInputStream;
import java.io.IOException;
@@ -280,7 +282,7 @@ class Headers implements Iterable<Headers.HeaderElement>
(LineInputStream) in : new LineInputStream(in);
String name = null;
- StringBuilder value = new StringBuilder();
+ CPStringBuilder value = new CPStringBuilder();
while (true)
{
String line = lin.readLine();