GUACAMOLE-47: Correct language of remoteHost/remoteAddr comments; Fix style 
issues on comment lines.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/013e10d6
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/013e10d6
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/013e10d6

Branch: refs/heads/master
Commit: 013e10d61e2f67e777b434787592056120eb1a43
Parents: 20a61fc
Author: Nick Couchman <[email protected]>
Authored: Sat Jan 28 13:42:51 2017 -0500
Committer: Nick Couchman <[email protected]>
Committed: Sat Jan 28 13:42:51 2017 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/guacamole/rest/APIRequest.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/013e10d6/guacamole/src/main/java/org/apache/guacamole/rest/APIRequest.java
----------------------------------------------------------------------
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 ec977cc..9044b24 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<String, String[]> 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 

Reply via email to