Skip to content

Commit 97b9b88

Browse files
michaelklishinacogoluegnes
authored andcommitted
Correct JavaDoc for a couple of methods
Fixes #615. (cherry picked from commit d00d84f)
1 parent db7e25a commit 97b9b88

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
@@ -1014,7 +1014,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
10141014
/**
10151015
* Returns the number of messages in a queue ready to be delivered
10161016
* to consumers. This method assumes the queue exists. If it doesn't,
1017-
* an exception will be closed with an exception.
1017+
* the channels will be closed with an exception.
10181018
* @param queue the name of the queue
10191019
* @return the number of messages in ready state
10201020
* @throws IOException Problem transmitting method.
@@ -1024,7 +1024,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
10241024
/**
10251025
* Returns the number of consumers on a queue.
10261026
* This method assumes the queue exists. If it doesn't,
1027-
* an exception will be closed with an exception.
1027+
* the channel will be closed with an exception.
10281028
* @param queue the name of the queue
10291029
* @return the number of consumers
10301030
* @throws IOException Problem transmitting method.

0 commit comments

Comments
 (0)