From 013e10d61e2f67e777b434787592056120eb1a43 Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Sat, 28 Jan 2017 13:42:51 -0500 Subject: [PATCH] GUACAMOLE-47: Correct language of remoteHost/remoteAddr comments; Fix style issues on comment lines. --- .../main/java/org/apache/guacamole/rest/APIRequest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guacamole/src/main/java/org/apache/guacamole/rest/APIRequest.java b/guacamole/src/main/java/org/apache/guacamole/rest/APIRequest.java index ec977cc59..9044b24ad 100644 --- a/guacamole/src/main/java/org/apache/guacamole/rest/APIRequest.java +++ b/guacamole/src/main/java/org/apache/guacamole/rest/APIRequest.java @@ -42,12 +42,12 @@ public class APIRequest extends HttpServletRequestWrapper { private final Map parameters; /** - * The remote hostname that initiated the request. + * The hostname of the client that initiated the request. */ private final String remoteHost; /** - * The remote ip address that initiated the request. + * The ip address of the client that initiated the request. */ private final String remoteAddr; @@ -68,10 +68,10 @@ public class APIRequest extends HttpServletRequestWrapper { super(request); - // Grab the remote host info. + // Grab the remote host info this.remoteHost = request.getRemoteHost(); - // Grab the remote ip info. + // Grab the remote ip info this.remoteAddr = request.getRemoteAddr(); // Copy parameters from given MultivaluedMap