mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Whitespace + general cleanup
This commit is contained in:
1 parent
e54d8c3352
commit
309846d732
87 files changed
+474
-421
No files matched your search
@@ -21,7 +21,7 @@ public class Java15Compat {
|
||||
if (original.length >= start && 0 <= start) {
|
||||
if (start <= end) {
|
||||
int length = end - start;
|
||||
int copyLength = Math.min( length, original.length - start);
|
||||
int copyLength = Math.min(length, original.length - start);
|
||||
long[] copy = (long[]) Array.newInstance(original.getClass().getComponentType(), length);
|
||||
System.arraycopy(original, start, copy, 0, copyLength);
|
||||
return copy;
|
||||
|
||||
Reference in new issue
Block a user