fix in LongHashset.java

This commit is contained in:
Tahg 2011-02-10 14:59:41 -05:00
parent 89232b826b
commit 41e136b880

View File

@ -78,7 +78,7 @@ public class LongHashset<V> extends LongHash<V> {
if(outer == null) continue;
for(int i = 0; i < outer.length ; i++) {
long[] inner = outer[i];
if(inner == null) continue;
if(inner == null || inner.length == 0) continue;
count--;
long ret = inner[inner.length - 1];
outer[i] = Arrays.copyOf(inner, inner.length - 1);