Removing redundant new URI

This commit is contained in:
Joakim Erdfelt 2017-05-30 12:16:10 -07:00
parent ae496051de
commit 355f4ed7f3
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public final class WSURI
if ("ws".equalsIgnoreCase(httpScheme) || "wss".equalsIgnoreCase(httpScheme)) if ("ws".equalsIgnoreCase(httpScheme) || "wss".equalsIgnoreCase(httpScheme))
{ {
// keep as-is // keep as-is
return new URI(inputUri.toString()); return inputUri;
} }
if ("http".equalsIgnoreCase(httpScheme)) if ("http".equalsIgnoreCase(httpScheme))