Skip to content

Commit ca37da1

Browse files
committed
Fixed sonar
1 parent 3973ef6 commit ca37da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/g3701_3800/s3709_design_exam_scores_tracker/ExamTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public ExamTracker() {
1919
public void record(int time, int score) {
2020
ti.add(time);
2121
long pv = pr.isEmpty() ? 0L : pr.get(pr.size() - 1);
22-
pr.add(pv + (long) score);
22+
pr.add(pv + score);
2323
}
2424

2525
public long totalScore(int startTime, int endTime) {

0 commit comments

Comments
 (0)