Archiviert
13
0

fix in LongHashset.java

Dieser Commit ist enthalten in:
Tahg 2011-02-10 14:59:41 -05:00
Ursprung 89232b826b
Commit 41e136b880

Datei anzeigen

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