GP-0: Formatting

This commit is contained in:
Ryan Kurtz 2023-06-05 07:41:03 -04:00
parent 52d93f78cf
commit 0de824949c

View file

@ -119,7 +119,7 @@ public class SemisparseByteArray {
* *
* <p> * <p>
* Copies {@code length} bytes of data from the semisparse array starting at index {@code loc} * Copies {@code length} bytes of data from the semisparse array starting at index {@code loc}
* into {@code data} starting at index {@code} offset. All initialized portions within the * into {@code data} starting at index {@code offset}. All initialized portions within the
* requested region are copied. The uninitialized portions may be treated as zeroes or not * requested region are copied. The uninitialized portions may be treated as zeroes or not
* copied at all. Typically, the destination array has been initialized to zero by the caller, * copied at all. Typically, the destination array has been initialized to zero by the caller,
* such that all uninitialized portions are zero. To avoid fetching uninitialized data, use * such that all uninitialized portions are zero. To avoid fetching uninitialized data, use
@ -244,7 +244,8 @@ public class SemisparseByteArray {
final int length) { final int length) {
if (length < 0) { if (length < 0) {
throw new IllegalArgumentException("length: " + length); throw new IllegalArgumentException("length: " + length);
} else if (length == 0) { }
else if (length == 0) {
return; return;
} }
defined.add(ULongSpan.extent(loc, length)); defined.add(ULongSpan.extent(loc, length));