summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/net/URLEncoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/net/URLEncoder.java')
-rw-r--r--libjava/classpath/java/net/URLEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/java/net/URLEncoder.java b/libjava/classpath/java/net/URLEncoder.java
index dacc3848e37..2f11c501b17 100644
--- a/libjava/classpath/java/net/URLEncoder.java
+++ b/libjava/classpath/java/net/URLEncoder.java
@@ -113,7 +113,7 @@ public class URLEncoder
int start = 0;
int i = 0;
- StringBuffer result = new StringBuffer(length);
+ StringBuilder result = new StringBuilder(length);
while (true)
{
while (i < length && isSafe(s.charAt(i)))