There was an error while loading. Please reload this page.
1 parent 5bae5ec commit fc52221Copy full SHA for fc52221
google-cloud-pubsublite/src/main/java/com/google/cloud/pubsublite/internal/BlockingPullSubscriber.java
@@ -18,12 +18,11 @@
18
19
import com.google.api.core.ApiFuture;
20
import com.google.cloud.pubsublite.SequencedMessage;
21
-import java.io.Closeable;
22
import java.util.Optional;
23
import javax.annotation.concurrent.ThreadSafe;
24
25
@ThreadSafe
26
-public interface BlockingPullSubscriber extends Closeable {
+public interface BlockingPullSubscriber extends AutoCloseable {
27
28
/**
29
* Returns a {@link ApiFuture} that will be completed when there are messages available.
0 commit comments