Skip to content

Commit 8ef159a

Browse files
update 1146
1 parent fa33f0b commit 8ef159a

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/com/fishercoder/solutions/secondthousand

1 file changed

+2
-2
lines changed

src/main/java/com/fishercoder/solutions/secondthousand/_1146.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public int snap() {
2525
return snapId++;
2626
}
2727

28-
public int get(int index, int snap_id) {
29-
return snapshots[index].floorEntry(snap_id).getValue();
28+
public int get(int index, int snapId) {
29+
return snapshots[index].floorEntry(snapId).getValue();
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)