From 355f4ed7f3252d312f1c95fe3ca1d0c684e15491 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 30 May 2017 12:16:10 -0700 Subject: [PATCH] Removing redundant new URI --- .../main/java/org/eclipse/jetty/websocket/api/util/WSURI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/util/WSURI.java b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/util/WSURI.java index 664082185c0..902604bd6b0 100644 --- a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/util/WSURI.java +++ b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/util/WSURI.java @@ -120,7 +120,7 @@ public final class WSURI if ("ws".equalsIgnoreCase(httpScheme) || "wss".equalsIgnoreCase(httpScheme)) { // keep as-is - return new URI(inputUri.toString()); + return inputUri; } if ("http".equalsIgnoreCase(httpScheme))