From b4dbaf5bdb82dd8d33fbee3f4a325f14c60ddfb8 Mon Sep 17 00:00:00 2001 From: James Muehlner Date: Mon, 14 Dec 2015 22:46:45 -0800 Subject: [PATCH] GUAC-1427: Fix formatting and capitalization of comments. --- .../net/basic/HTTPTunnelRequest.java | 2 +- .../GuacamoleWebSocketTunnelServlet.java | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/HTTPTunnelRequest.java b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/HTTPTunnelRequest.java index aaf025f92..af7b7f025 100644 --- a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/HTTPTunnelRequest.java +++ b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/HTTPTunnelRequest.java @@ -38,7 +38,7 @@ public class HTTPTunnelRequest extends TunnelRequest { /** * A copy of the parameters obtained from the HttpServletRequest used to - * construct the HttpTunnelRequest. + * construct the HTTPTunnelRequest. */ private final Map> parameterMap = new HashMap>(); diff --git a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty8/GuacamoleWebSocketTunnelServlet.java b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty8/GuacamoleWebSocketTunnelServlet.java index 75a978738..8c09780ea 100644 --- a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty8/GuacamoleWebSocketTunnelServlet.java +++ b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty8/GuacamoleWebSocketTunnelServlet.java @@ -213,14 +213,17 @@ public abstract class GuacamoleWebSocketTunnelServlet extends WebSocketServlet { * result of this connection request (whether some sort of credentials must * be specified, for example). * - * @param request The TunnelRequest associated with the connection - * request received. Any parameters specified along with - * the connection request can be read from this object. - * @return A newly constructed GuacamoleTunnel if successful, - * null otherwise. - * @throws GuacamoleException If an error occurs while constructing the - * GuacamoleTunnel, or if the conditions - * required for connection are not met. + * @param request + * The TunnelRequest associated with the connection request received. + * Any parameters specified along with the connection request can be + * read from this object. + * + * @return + * A newly constructed GuacamoleTunnel if successful, null otherwise. + * + * @throws GuacamoleException + * If an error occurs while constructing the GuacamoleTunnel, or if the + * conditions required for connection are not met. */ protected abstract GuacamoleTunnel doConnect(TunnelRequest request) throws GuacamoleException;