> + return ImmutableSet.of();
> + }
> + return listSecurityGroupsInLocation(zone);
> + }
> +
> + public Set<SecurityGroup> listSecurityGroupsInLocation(String zone) {
> + Iterable<? extends SecurityGroupInZone> rawGroups =
> pollSecurityGroupsByZone(zone);
> + Iterable<SecurityGroup> groups = transform(filter(rawGroups,
> notNull()),
> + groupConverter);
> + return ImmutableSet.copyOf(groups);
> + }
> +
> + @Override
> + public Set<SecurityGroup> listSecurityGroupsForNode(String id) {
> + checkNotNull(id, "id");
> + ZoneAndId zoneAndId = ZoneAndId.fromSlashEncoded(id);
[minor] Combine these two lines?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/144/files#r6344630