> +      }));
> +   }
> +
> +   public Set<Integer> getMemories() {
> +      if(memory.isEmpty()) return ImmutableSet.of();
> +      return Sets.newHashSet(Iterables.transform(memory, new 
> Function<ContainerVirtualGuestConfigurationOption,
> +              Integer>() {
> +         @Override
> +         public Integer apply(ContainerVirtualGuestConfigurationOption 
> input) {
> +            return input.getTemplate().getMaxMemory();
> +         }
> +      }));
> +   }
> +
> +   public Set<Datacenter> getVirtualGuestDatacenters() {
> +      if(datacenters.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#r12882537

Reply via email to