You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/autosynth-iot/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/MessageDispatcher.java
Copy file name to clipboardExpand all lines: branches/autosynth-iot/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/MessageWaiter.java
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@
17
17
packagecom.google.cloud.pubsub.v1;
18
18
19
19
importcom.google.api.core.InternalApi;
20
-
importjava.util.concurrent.atomic.AtomicBoolean;
21
20
22
21
/** A barrier kind of object that helps to keep track and synchronously wait on pending messages. */
23
22
classMessageWaiter {
@@ -35,16 +34,10 @@ public synchronized void incrementPendingMessages(int messages) {
Copy file name to clipboardExpand all lines: branches/autosynth-iot/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MessageWaiterTest.java
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@
18
18
19
19
importstaticorg.junit.Assert.assertEquals;
20
20
21
-
importjava.util.concurrent.atomic.AtomicBoolean;
22
21
importorg.junit.Test;
23
22
importorg.junit.runner.RunWith;
24
23
importorg.junit.runners.JUnit4;
@@ -32,22 +31,21 @@ public void test() throws Exception {
0 commit comments