Skip to content

Commit 971500b

Browse files
Cleanup
1 parent 7fabd7f commit 971500b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-firestore/src/test/java/com/google/firebase/firestore/util/ThrottledForwardingExecutorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void limitsNumberOfForwardedTasks() throws InterruptedException {
3434
ThrottledForwardingExecutor throttledExecutor =
3535
new ThrottledForwardingExecutor(maximumConcurrency, countingExecutor);
3636

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
3838
// finished.
3939
int numTasks = maximumConcurrency + 1;
4040
CountDownLatch schedulingLatch = new CountDownLatch(1);
@@ -44,7 +44,7 @@ public void limitsNumberOfForwardedTasks() throws InterruptedException {
4444
() -> {
4545
try {
4646
if (currentTask < maximumConcurrency) {
47-
// Only block if we are running on the forwarded executor.
47+
// Block if we are running on the forwarded executor.
4848
schedulingLatch.await();
4949
}
5050
completedTasks.release();

0 commit comments

Comments
 (0)