From 7c0f7cc8f467da23898265aa15c72d30f710bc0b Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 3 Dec 2012 12:55:37 -0700 Subject: [PATCH] Fixing for JDK5. --- .../main/java/org/eclipse/jetty/util/ReadLineInputStream.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/ReadLineInputStream.java b/jetty-util/src/main/java/org/eclipse/jetty/util/ReadLineInputStream.java index 3946ca07483..035d5174ed4 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/ReadLineInputStream.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/ReadLineInputStream.java @@ -69,7 +69,7 @@ public class ReadLineInputStream extends BufferedInputStream _skipLF=true; int m=markpos; markpos=-1; - return new String(buf,m,p-m-1,StringUtil.__UTF8_CHARSET); + return new String(buf,m,p-m-1,StringUtil.__UTF8); } if (b=='\n') @@ -83,7 +83,7 @@ public class ReadLineInputStream extends BufferedInputStream } int m=markpos; markpos=-1; - return new String(buf,m,pos-m-1,StringUtil.__UTF8_CHARSET); + return new String(buf,m,pos-m-1,StringUtil.__UTF8); } } }