[ci skip] Clean codes in BufferedLinearRegionFile

This commit is contained in:
2026-08-13 22:36:52 +08:00
parent de4ccc40f0
commit 9ef6d49163
@@ -1417,7 +1417,7 @@ public class BufferedLinearRegionFile implements io.nanachiyo0721.shiroha.data.R
} }
} }
private void markBucketsSynced(long[] syncedBucketEpochs) { private void markBucketsSynced(long @NonNull [] syncedBucketEpochs) {
for (int i = 0; i < syncedBucketEpochs.length; i++) { for (int i = 0; i < syncedBucketEpochs.length; i++) {
// note: a dirty bucket always has a write epoch >= 1, so 0 = untouched // note: a dirty bucket always has a write epoch >= 1, so 0 = untouched
if (syncedBucketEpochs[i] != 0L) { if (syncedBucketEpochs[i] != 0L) {