> +      }));
> +   }
> +
> +   public Set<Datacenter> getVirtualGuestDatacenters() {
> +      if(datacenters.isEmpty()) return ImmutableSet.of();
> +      return Sets.newHashSet(Iterables.transform(datacenters, new 
> Function<ContainerVirtualGuestConfigurationOption,
> +              Datacenter>() {
> +         @Override
> +         public Datacenter apply(ContainerVirtualGuestConfigurationOption 
> input) {
> +            return input.getTemplate().getDatacenter();
> +         }
> +      }));
> +   }
> +
> +   public Set<OperatingSystem> getVirtualGuestOperatingSystems() {
> +      if(operatingSystems.isEmpty()) return ImmutableSet.of();

Same as above.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r12882541

Reply via email to