GUACAMOLE-38: Fix parameter name in QuickConnection constructor.
This commit is contained in:
1 parent
bb127c55d2
commit
12d92d210f
1 file changed
+7
-5
+7
-5
@@ -70,14 +70,16 @@ public class QuickConnection extends SimpleConnection {
|
||||
* object, copying over the relevant data and initializing
|
||||
* the rest.
|
||||
*
|
||||
* @param object
|
||||
* The generic Connection object to be copied.
|
||||
* @param connection
|
||||
* 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;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user