Skip to content

Commit d00d84f

Browse files
Correct JavaDoc for a couple of methods
Fixes #615.
1 parent 7eef038 commit d00d84f

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
@@ -1346,7 +1346,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
13461346
/**
13471347
* Returns the number of messages in a queue ready to be delivered
13481348
* to consumers. This method assumes the queue exists. If it doesn't,
1349-
* an exception will be closed with an exception.
1349+
* the channels will be closed with an exception.
13501350
* @param queue the name of the queue
13511351
* @return the number of messages in ready state
13521352
* @throws IOException Problem transmitting method.
@@ -1356,7 +1356,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
13561356
/**
13571357
* Returns the number of consumers on a queue.
13581358
* This method assumes the queue exists. If it doesn't,
1359-
* an exception will be closed with an exception.
1359+
* the channel will be closed with an exception.
13601360
* @param queue the name of the queue
13611361
* @return the number of consumers
13621362
* @throws IOException Problem transmitting method.

0 commit comments

Comments
 (0)