mirror of
https://github.com/apache/jclouds.git
synced 2025-02-17 15:35:44 +00:00
Renamed variables.
This commit is contained in:
parent
54c76515ce
commit
f2d4c58a6a
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user