Skip to content

Commit

Permalink
[hotfix] [tests] Reduce visibility of helper class methods
Browse files Browse the repository at this point in the history
There is no need to make the helper methods public. No other class
should even use this inner test helper invokable.
  • Loading branch information
uce committed Oct 23, 2017
1 parent 99be784 commit 3b9d518
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -622,16 +622,16 @@ public void notifyCheckpointComplete(long checkpointId) {
}
}

public static void initializeStaticHelpers(int numSubtasks) {
static void initializeStaticHelpers(int numSubtasks) {
completedCheckpointsLatch = new CountDownLatch(numSubtasks);
recoveredStates = new long[numSubtasks];
}

public static void awaitCompletedCheckpoints() throws InterruptedException {
static void awaitCompletedCheckpoints() throws InterruptedException {
completedCheckpointsLatch.await();
}

public static long[] getRecoveredStates() {
static long[] getRecoveredStates() {
return recoveredStates;
}

Expand Down

0 comments on commit 3b9d518

Please sign in to comment.