> + }
> +
> + public Set<ContainerVirtualGuestConfigurationOption>
> getNetworkComponents() {
> + return networkComponents;
> + }
> +
> + public Set<ContainerVirtualGuestConfigurationOption>
> getOperatingSystems() {
> + return operatingSystems;
> + }
> +
> + public Set<ContainerVirtualGuestConfigurationOption> getProcessors() {
> + return processors;
> + }
> +
> + public Set<Integer> getCpusOfProcessors() {
> + if(processors.isEmpty()) return ImmutableSet.of();
By doing this you are returning an immutable set if there are no processors,
but a mutable one if there is some. Why that different behavior? I'd just
remove this line, as the `transform` below will already do nothing if the
processors set is empty.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r12882529