Update compute/src/main/java/org/jclouds/net/domain/IpPermission.java

shouldn't we hash on cidrBlocks as well... breaks some set logic I'm using.
Wondering if this will be built out, or if it will be dropped?
This commit is contained in:
Rex Hoffman 2013-02-26 14:45:49 -08:00
parent fd42b450af
commit 35dd0a67aa
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ public class IpPermission implements Comparable<IpPermission> {
@Override
public int hashCode() {
return Objects.hashCode(ipProtocol, fromPort, toPort, tenantIdGroupNamePairs, groupIds, groupIds);
return Objects.hashCode(ipProtocol, fromPort, toPort, tenantIdGroupNamePairs, groupIds, cidrBlocks);
}
@Override