From 4204187eae72f512188ad3189ce5e21608729c71 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 3 Jul 2018 12:31:12 -0500 Subject: [PATCH] Fixing compilation error --- .../org/eclipse/jetty/websocket/client/WebSocketClient.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java index a75a56e4738..c89f9fec38f 100644 --- a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java +++ b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java @@ -110,7 +110,7 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketCont */ public WebSocketClient(HttpClient httpClient, DecoratedObjectFactory objectFactory) { - this(new SimpleContainerScope(new WebSocketPolicy(WebSocketBehavior.CLIENT), null, null, null, objectFactory), null, null, httpClient); + this(new SimpleContainerScope(new WebSocketPolicy(WebSocketBehavior.CLIENT), null, objectFactory), null, httpClient); } /** @@ -175,7 +175,7 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketCont */ public WebSocketClient(WebSocketContainerScope scope) { - this(scope, null, null, null); + this(scope, null, null); } /** @@ -225,7 +225,6 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketCont private WebSocketClient(SslContextFactory sslContextFactory, Executor executor, ByteBufferPool bufferPool, DecoratedObjectFactory objectFactory) { this(new SimpleContainerScope(new WebSocketPolicy(WebSocketBehavior.CLIENT), bufferPool, executor, sslContextFactory, objectFactory)); - addBean(this.httpClient); } /**