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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user