geforkt von Mirrors/Paper
fix in LongHashset.java
Dieser Commit ist enthalten in:
Ursprung
89232b826b
Commit
41e136b880
@ -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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren