Fix hashCode to include parent Reference id

This commit is contained in:
Andrew Donald Kennedy 2012-08-16 22:30:23 +01:00
parent 027b3d0d33
commit 8b1a48b2e0
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class Network extends Reference {
@Override @Override
public int hashCode() { public int hashCode() {
return Objects.hashCode(name); return Objects.hashCode(super.hashCode(), name);
} }
@Override @Override