Closed rwozniak closed 10 years ago
In the method of class Region:
public boolean equals(Object other) { if (other instanceof Region) { return ((Region)other).uniqueId == this.uniqueId; } return false; }
uniqueIds (which are Strings) are compared using '==' instead of .equals(). This will cause problems in collections (eg. removing from Map).
Great catch, thanks! Fixed in e18f35ad056f544d9fc25cde1dfb78520180ceb4 and binary release 0.7.2
In the method of class Region:
uniqueIds (which are Strings) are compared using '==' instead of .equals(). This will cause problems in collections (eg. removing from Map).