Skip to content

Commit 4191a84

Browse files
michaelklishinacogoluegnes
authored andcommitted
Correct JavaDoc for a couple of methods
Fixes #615. (cherry picked from commit d00d84f)
1 parent 23525b6 commit 4191a84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/rabbitmq/client/Channel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
13471347
/**
13481348
* Returns the number of messages in a queue ready to be delivered
13491349
* to consumers. This method assumes the queue exists. If it doesn't,
1350-
* an exception will be closed with an exception.
1350+
* the channels will be closed with an exception.
13511351
* @param queue the name of the queue
13521352
* @return the number of messages in ready state
13531353
* @throws IOException Problem transmitting method.
@@ -1357,7 +1357,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
13571357
/**
13581358
* Returns the number of consumers on a queue.
13591359
* This method assumes the queue exists. If it doesn't,
1360-
* an exception will be closed with an exception.
1360+
* the channel will be closed with an exception.
13611361
* @param queue the name of the queue
13621362
* @return the number of consumers
13631363
* @throws IOException Problem transmitting method.

0 commit comments

Comments
 (0)