> + return input.getMountType().equals("Disk");
> + }
> + })
> + .transform(new Function<VirtualGuestBlockDevice,
> Volume>() {
> + @Override
> + public Volume apply(VirtualGuestBlockDevice item) {
> + float volumeSize =
> item.getVirtualDiskImage().getCapacity();
> + return new VolumeImpl(
> + item.getId() + "",
> + from.isLocalDiskFlag() ?
> Volume.Type.LOCAL : Volume.Type.SAN,
> + volumeSize, null, item.getBootableFlag()
> == 1, false);
> + }
> + }).toSet());
> + }
> + return builder.build();
> + }
Reformat this class to 3 space indentation and 120 line length.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r11136807