Skip to content

Commit 1ffb2a9

Browse files
committed
minor
1 parent 88a2ec2 commit 1ffb2a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • gcloud-java-pubsub/src/main/java/com/google/gcloud/pubsub

gcloud-java-pubsub/src/main/java/com/google/gcloud/pubsub/PubSub.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ class PullOption {
9696

9797
// Ack options:
9898
// 1) replace return value to ReceivedMessage (Message + functional ack)
99-
// 2) rename Message to MessageInfo and make Message functional with ack
100-
// 3) like (2) but with no auto-renew, so provide a function for renew
99+
// 2) like (1) but with no auto-renew, so provide a function for renew
100+
// 3) rename Message to MessageInfo and make Message functional with ack
101101
// 4) return a "special" list (extends List) but has a way to "ackSoFar"
102102
// 5) instead of List use callback and auto-acknowledge per callback (and auto-renew)
103103
// ** Auto renew means, using a separate thread.

0 commit comments

Comments
 (0)