diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-02-01 08:18:35 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-02-01 08:18:35 +0000 |
commit | 50c02591dc10bebe899f9ddbe300ddfe24defcc5 (patch) | |
tree | d6d5a5dd8424c1d0859ebd5e72e02bbe7d417098 /src/com/vaadin/terminal | |
parent | ab331e479cbbc9481b99e19fd0348eec445cac20 (diff) | |
download | vaadin-framework-50c02591dc10bebe899f9ddbe300ddfe24defcc5.tar.gz vaadin-framework-50c02591dc10bebe899f9ddbe300ddfe24defcc5.zip |
java 1.5 combat fix
svn changeset:17100/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/terminal')
-rw-r--r-- | src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java index 8606080802..6411361875 100644 --- a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java +++ b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java @@ -17,7 +17,6 @@ import java.io.Serializable; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.URL; -import java.nio.charset.Charset; import java.security.GeneralSecurityException; import java.text.DateFormat; import java.text.DateFormatSymbols; @@ -354,7 +353,7 @@ public abstract class AbstractCommunicationManager implements private static final String CRLF = "\r\n"; - private static final Charset UTF8 = Charset.forName("UTF8"); + private static final String UTF8 = "UTF8"; private static String readLine(InputStream stream) throws IOException { ByteArrayOutputStream bout = new ByteArrayOutputStream(); |