> @@ -163,6 +197,7 @@ public IpPermission(IpProtocol ipProtocol, int fromPort, 
> int toPort,
>        this.ipProtocol = checkNotNull(ipProtocol, "ipProtocol");
>        this.groupIds = ImmutableSet.copyOf(checkNotNull(groupIds, 
> "groupIds"));
>        this.cidrBlocks = ImmutableSet.copyOf(checkNotNull(cidrBlocks, 
> "cidrBlocks"));
> +      this.ports = ports == null ? TreeRangeSet.<Integer>create() : ports;

Works for me.

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

Reply via email to