Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Mazursky2013-11-02 08:44:36 +0000
committerMikhail Mazursky2013-11-02 08:44:36 +0000
commit6b0269a16d7ee923ae70082eb60595d432861707 (patch)
treefebef6ee712c505c99f95a8a059bf4d7eb64c688 /jetty-websocket/websocket-api/src
parent56fcfa45fb642825db38b8197467a63ee2aeffd6 (diff)
downloadorg.eclipse.jetty.project-6b0269a16d7ee923ae70082eb60595d432861707.tar.gz
org.eclipse.jetty.project-6b0269a16d7ee923ae70082eb60595d432861707.tar.xz
org.eclipse.jetty.project-6b0269a16d7ee923ae70082eb60595d432861707.zip
[Bug 420930] Use Charset to specify character encoding
Signed-off-by: Mikhail Mazursky <mikhail.mazursky@gmail.com>
Diffstat (limited to 'jetty-websocket/websocket-api/src')
-rw-r--r--jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/io/WebSocketWriter.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/io/WebSocketWriter.java b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/io/WebSocketWriter.java
index abd194d24f..43db5aaee6 100644
--- a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/io/WebSocketWriter.java
+++ b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/io/WebSocketWriter.java
@@ -20,13 +20,11 @@ package org.eclipse.jetty.websocket.api.io;
import java.io.IOException;
import java.io.Writer;
-import java.nio.charset.Charset;
import org.eclipse.jetty.websocket.api.Session;
public class WebSocketWriter extends Writer
{
- private final Charset charset = Charset.forName("UTF-8");
private final Session session;
public WebSocketWriter(Session session)

Back to the top