mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-38: Fix parameter name to sometihng more fitting to its function.
This commit is contained in:
@@ -86,7 +86,7 @@ public class QuickConnectDirectory extends SimpleConnectionDirectory {
|
|||||||
* QuickConnection connection, after setting the identifier
|
* QuickConnection connection, after setting the identifier
|
||||||
* and parent object.
|
* and parent object.
|
||||||
*
|
*
|
||||||
* @param object
|
* @param connection
|
||||||
* The QuickConnection object to add to the tree.
|
* The QuickConnection object to add to the tree.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
@@ -96,17 +96,17 @@ public class QuickConnectDirectory extends SimpleConnectionDirectory {
|
|||||||
* If an error is encountered adding the object to the
|
* If an error is encountered adding the object to the
|
||||||
* directory.
|
* directory.
|
||||||
*/
|
*/
|
||||||
public String put(QuickConnection object) throws GuacamoleException {
|
public String put(QuickConnection connection) throws GuacamoleException {
|
||||||
|
|
||||||
// Get the next connection ID.
|
// Get the next connection ID.
|
||||||
String connectionId = getNextConnectionID().toString();
|
String connectionId = getNextConnectionID().toString();
|
||||||
|
|
||||||
// Set up identifier and parent on object.
|
// Set up identifier and parent on object.
|
||||||
object.setIdentifier(connectionId);
|
connection.setIdentifier(connectionId);
|
||||||
object.setParentIdentifier(ROOT_IDENTIFIER);
|
connection.setParentIdentifier(ROOT_IDENTIFIER);
|
||||||
|
|
||||||
// Add connection to the directory
|
// Add connection to the directory
|
||||||
putConnection(object);
|
putConnection(connection);
|
||||||
|
|
||||||
// Add connection to the tree
|
// Add connection to the tree
|
||||||
this.rootGroup.addConnectionIdentifier(connectionId);
|
this.rootGroup.addConnectionIdentifier(connectionId);
|
||||||
|
Reference in New Issue
Block a user