geforkt von Mirrors/Paper
We build for Java 1.5.
Dieser Commit ist enthalten in:
Ursprung
edfc8ba92f
Commit
e61a316815
@ -107,7 +107,7 @@ public class UnsafeList<E> extends AbstractList<E> implements List<E>, RandomAcc
|
|||||||
int old = data.length;
|
int old = data.length;
|
||||||
int rounded = Integer.highestOneBit(size - 1) << 1;
|
int rounded = Integer.highestOneBit(size - 1) << 1;
|
||||||
if (rounded < old) {
|
if (rounded < old) {
|
||||||
data = Arrays.copyOf(data, rounded);
|
data = Java15Compat.Arrays_copyOf(data, rounded);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren