Skip to content

Commit

Permalink
Fixed unsupported Java code
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondobama committed Mar 22, 2021
1 parent 463263b commit 9e2acec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/group/diamonddev/internal/SpinedBuffer.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public abstract class SpinedBuffer<E, T_ARR> implements Iterable<E> {
throw new IllegalArgumentException("Illegal Capacity: " + initialCapacity);

this.initialChunkPower = Math.max(MIN_CHUNK_POWER,
Integer.SIZE - Integer.numberOfLeadingZeros(initialCapacity - 1));
32 - Integer.numberOfLeadingZeros(initialCapacity - 1));
curChunk = newArray(1 << initialChunkPower);
}

Expand Down

0 comments on commit 9e2acec

Please sign in to comment.