GUACAMOLE-38: Fix parameter name in QuickConnection constructor.

This commit is contained in:
Nick Couchman
2018-04-15 23:07:57 -04:00
parent bb127c55d2
commit 12d92d210f

View File

@@ -70,14 +70,16 @@ public class QuickConnection extends SimpleConnection {
* object, copying over the relevant data and initializing * object, copying over the relevant data and initializing
* the rest. * the rest.
* *
* @param object * @param connection
* The generic Connection object to be copied. * The generic Connection to be copied.
*/ */
public QuickConnection(Connection object) { public QuickConnection(Connection connection) {
super(object.getName(),object.getIdentifier(),object.getConfiguration()); super(connection.getName(),connection.getIdentifier(),
connection.getConfiguration());
setParentIdentifier(connection.getParentIdentifier());
setParentIdentifier(object.getParentIdentifier());
this.activeConnections = 0; this.activeConnections = 0;
} }