Renamed variables.

This commit is contained in:
Mattias Holmqvist 2011-10-23 00:42:44 +02:00
parent 54c76515ce
commit f2d4c58a6a

View File

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