I broke this in 2845; probably want to check the values in the bucket, not just the bucket. Thanks, Mr. Hoover

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2846 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
charlie.groves
2010-09-02 20:50:37 +00:00
parent 087dbd0e9b
commit 39f3b63dbe
@@ -103,7 +103,7 @@ public class HashIntMap<V> extends AbstractMap<Integer,V>
{
for (Record<V> bucket : _buckets) {
for (Record<V> r = bucket; r != null; r = r.next) {
if (ObjectUtil.equals(bucket.value, o)) {
if (ObjectUtil.equals(r.value, o)) {
return true;
}
}