diff options
Diffstat (limited to 'libjava/classpath/java/net/URLEncoder.java')
-rw-r--r-- | libjava/classpath/java/net/URLEncoder.java | 2 |
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))) |