3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

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;
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);