Fixed equals() without hashCode().

This commit is contained in:
sk89q
2014-04-04 14:40:51 -07:00
parent 478ce3f627
commit b9c1dc6231
2 changed files with 18 additions and 0 deletions

View File

@ -212,4 +212,9 @@ public class Snapshot implements Comparable<Snapshot> {
}
return false;
}
@Override
public int hashCode() {
return file.hashCode();
}
}