Skip to content

Commit

Permalink
Fixup2: fixed issues in WorkerIndexHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmaAfifi committed Apr 24, 2023
1 parent 4df01c3 commit 0b3695b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

public class WorkerIndexHistory {

final Set<Integer> runningWorkerIndex = new HashSet<>();
final Set<Integer> terminalWorkerIndex = new HashSet<>();
private final Set<Integer> runningWorkerIndex = new HashSet<>();
private final Set<Integer> terminalWorkerIndex = new HashSet<>();

public synchronized void addToRunningIndex(int workerIndex) {
runningWorkerIndex.add(workerIndex);
Expand Down

0 comments on commit 0b3695b

Please sign in to comment.