GUACAMOLE-38: Fix parameter name to sometihng more fitting to its function.


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

Branch: refs/heads/master
Commit: 2113d1aa96cc5595108adbd30f94b59c9c023825
Parents: 6c23556
Author: Nick Couchman <vn...@apache.org>
Authored: Fri Mar 16 14:37:05 2018 -0400
Committer: Nick Couchman <vn...@apache.org>
Committed: Fri Jun 1 13:40:50 2018 -0400

----------------------------------------------------------------------
 .../auth/quickconnect/QuickConnectDirectory.java          | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/2113d1aa/extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/QuickConnectDirectory.java
----------------------------------------------------------------------
diff --git 
a/extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/QuickConnectDirectory.java
 
b/extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/QuickConnectDirectory.java
index ce1fd1f..00c5044 100644
--- 
a/extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/QuickConnectDirectory.java
+++ 
b/extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/QuickConnectDirectory.java
@@ -86,7 +86,7 @@ public class QuickConnectDirectory extends 
SimpleConnectionDirectory {
      * QuickConnection connection, after setting the identifier
      * and parent object.
      *
-     * @param object
+     * @param connection
      *     The QuickConnection object to add to the tree.
      *
      * @return
@@ -96,17 +96,17 @@ public class QuickConnectDirectory extends 
SimpleConnectionDirectory {
      *     If an error is encountered adding the object to the
      *     directory.
      */
-    public String put(QuickConnection object) throws GuacamoleException {
+    public String put(QuickConnection connection) throws GuacamoleException {
 
         // Get the next connection ID.
         String connectionId = getNextConnectionID().toString();
 
         // Set up identifier and parent on object.
-        object.setIdentifier(connectionId);
-        object.setParentIdentifier(ROOT_IDENTIFIER);
+        connection.setIdentifier(connectionId);
+        connection.setParentIdentifier(ROOT_IDENTIFIER);
 
         // Add connection to the directory
-        putConnection(object);
+        putConnection(connection);
 
         // Add connection to the tree
         this.rootGroup.addConnectionIdentifier(connectionId);

Reply via email to