From c3c4d059a646948297012e8a9c7b05323fc8ca47 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 20 Feb 2014 15:43:44 +0100 Subject: [PATCH] Removed unnecessary synchronization. --- .../main/java/org/eclipse/jetty/websocket/common/Parser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java index 45eeecb82e1..0cf7e5f4b2c 100644 --- a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java +++ b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java @@ -239,7 +239,7 @@ public class Parser incomingFramesHandler.incomingError(e); } - public synchronized void parse(ByteBuffer buffer) + public void parse(ByteBuffer buffer) { if (buffer.remaining() <= 0) {