Renamed variable.

This commit is contained in:
Mattias Holmqvist 2011-10-23 12:57:51 +02:00
parent 108ae79bb5
commit 680ed8c178
1 changed files with 2 additions and 2 deletions

View File

@ -214,8 +214,8 @@ public class IsoToIMachine implements Function<String, IMachine> {
lockSessionOnMachineAndApply(manager, Shared, vmName, new Function<ISession, Void>() {
@Override
public Void apply(ISession arg0) {
IProgress powerDownProgress = arg0.getConsole().powerDown();
public Void apply(ISession session) {
IProgress powerDownProgress = session.getConsole().powerDown();
powerDownProgress.waitForCompletion(-1);
return null;
}