Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
askwang committed Aug 23, 2024
1 parent 9e27add commit a44d7fb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,9 @@ public static int findPreviousSnapshot(List<Snapshot> sortedSnapshots, long targ
}

private static int findNextOrEqualTag(
List<Snapshot> taggedSnapshots, long targetSnapshotId) {
for (int i = 0; i < taggedSnapshots.size(); i++) {
if (taggedSnapshots.get(i).id() >= targetSnapshotId) {
List<Snapshot> sortedSnapshots, long targetSnapshotId) {
for (int i = 0; i < sortedSnapshots.size(); i++) {
if (sortedSnapshots.get(i).id() >= targetSnapshotId) {
return i;
}
}
Expand Down

0 comments on commit a44d7fb

Please sign in to comment.