> + .transform(new Function<VirtualGuestBlockDevice, > BlockDevice>() { > + @Override > + public BlockDevice apply(VirtualGuestBlockDevice input) { > + return new BlockDevice(input.getDevice(), > input.getVirtualDiskImage().getCapacity()); > + } > + }) > + .toSortedSet(new Comparator<BlockDevice>() { > + @Override > + public int compare(BlockDevice b1, BlockDevice b2) { > + return > Integer.valueOf(b1.getDevice()).compareTo(Integer.valueOf(b2.getDevice())); > + } > + }); > + return set; > + } > + > + private HashSet<NetworkComponent> getNetworkComponents(VirtualGuest > virtualGuest) {
Even if it is a private method, return the `Set` interface instead of a concrete implementation. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/296/files#r11136489