Renamed variables.

This commit is contained in:
Mattias Holmqvist 2011-10-23 00:42:44 +02:00
parent 54c76515ce
commit f2d4c58a6a
1 changed files with 3 additions and 3 deletions

View File

@ -39,10 +39,10 @@ public class AddIDEControllerIfNotExists implements Function<IMachine, Void> {
}
@Override
public Void apply(IMachine arg0) {
public Void apply(IMachine machine) {
try {
arg0.addStorageController(controllerName, StorageBus.IDE);
arg0.saveSettings();
machine.addStorageController(controllerName, StorageBus.IDE);
machine.saveSettings();
} catch (VBoxException e) {
if (e.getMessage().indexOf("already exists") == -1)
throw e;