File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firebase-firestore/src/test/java/com/google/firebase/firestore/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public void limitsNumberOfForwardedTasks() throws InterruptedException {
34
34
ThrottledForwardingExecutor throttledExecutor =
35
35
new ThrottledForwardingExecutor (maximumConcurrency , countingExecutor );
36
36
37
- // Schedule more than `maximumConcurrency` parallel task and block until all scheduling has
37
+ // Schedule more than `maximumConcurrency` parallel tasks and block until all scheduling has
38
38
// finished.
39
39
int numTasks = maximumConcurrency + 1 ;
40
40
CountDownLatch schedulingLatch = new CountDownLatch (1 );
@@ -44,7 +44,7 @@ public void limitsNumberOfForwardedTasks() throws InterruptedException {
44
44
() -> {
45
45
try {
46
46
if (currentTask < maximumConcurrency ) {
47
- // Only block if we are running on the forwarded executor.
47
+ // Block if we are running on the forwarded executor.
48
48
schedulingLatch .await ();
49
49
}
50
50
completedTasks .release ();
You can’t perform that action at this time.
0 commit comments