From d7f3bbb260397c2859f39d02d562324ec3b83266 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 11 Jul 2012 11:43:12 -0700 Subject: [PATCH] Fixing build issue --- .../websocket/client/io/WebSocketClientSelectorManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java index abacfcf2aea..783874b35e2 100644 --- a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java +++ b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java @@ -84,7 +84,7 @@ public class WebSocketClientSelectorManager extends SelectorManager WebSocketAsyncConnection connection = new WebSocketAsyncConnection(endPoint,executor,scheduler,policy,bufferPool); endPoint.setAsyncConnection(connection); - connection.getParser().addListener(websocket); + connection.getParser().setListener(websocket); // TODO: track open websockets? bind open websocket to connection?