mirror of https://github.com/apache/jclouds.git
parent
ea82f58b35
commit
424a88fdc5
|
@ -73,7 +73,7 @@ public class VMImageToImage implements Function<VMImage, Image> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static VMImage decodeFieldsFromUniqueId(final String id) {
|
public static VMImage decodeFieldsFromUniqueId(final String id) {
|
||||||
String fields[] = checkNotNull(id, "id").split("/");
|
String[] fields = checkNotNull(id, "id").split("/");
|
||||||
VMImage vmImage;
|
VMImage vmImage;
|
||||||
boolean custom = fields.length == 5;
|
boolean custom = fields.length == 5;
|
||||||
if (custom) {
|
if (custom) {
|
||||||
|
|
Loading…
Reference in New Issue