You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by kr...@apache.org on 2019/10/03 20:22:48 UTC
[knox] branch master updated: Fix javadoc warning
This is an automated email from the ASF dual-hosted git repository.
krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/master by this push:
new 9258e3d Fix javadoc warning
9258e3d is described below
commit 9258e3d2b7710bcd59de7d03320c6907dc5cc5b9
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Thu Oct 3 16:22:35 2019 -0400
Fix javadoc warning
---
.../org/apache/knox/gateway/websockets/GatewayWebsocketHandler.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gateway-server/src/main/java/org/apache/knox/gateway/websockets/GatewayWebsocketHandler.java b/gateway-server/src/main/java/org/apache/knox/gateway/websockets/GatewayWebsocketHandler.java
index 7d8ce36..0f19052 100644
--- a/gateway-server/src/main/java/org/apache/knox/gateway/websockets/GatewayWebsocketHandler.java
+++ b/gateway-server/src/main/java/org/apache/knox/gateway/websockets/GatewayWebsocketHandler.java
@@ -148,10 +148,11 @@ public class GatewayWebsocketHandler extends WebSocketHandler
* This method looks at the context path and returns the backend websocket
* url. If websocket url is found it is used as is, or we default to
* ws://{host}:{port} which might or might not be right.
+ * @param path path to match requestURI against
+ * @param requestURI url to match
* @return Websocket backend url
*/
protected synchronized String getMatchedBackendURL(final String path, URI requestURI) {
-
final ServiceRegistry serviceRegistryService = services
.getService(ServiceType.SERVICE_REGISTRY_SERVICE);