Skip to content

Commit 0cfd8a1

Browse files
author
Steve Powell
committed
Fixed comment and string references to handleBasicReturn.
1 parent 31d035e commit 0cfd8a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/com/rabbitmq/client/impl/DefaultExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void handleUnexpectedConnectionDriverException(Connection conn, Throwable
3434
}
3535

3636
public void handleReturnListenerException(Channel channel, Throwable exception) {
37-
handleChannelKiller(channel, exception, "ReturnListener.handleBasicReturn");
37+
handleChannelKiller(channel, exception, "ReturnListener.handleReturn");
3838
}
3939

4040
public void handleFlowListenerException(Channel channel, Throwable exception) {

src/com/rabbitmq/client/impl/ExceptionHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public interface ExceptionHandler {
3636
/**
3737
* Perform any required exception processing for the situation
3838
* when the driver thread for the connection has called a
39-
* ReturnListener's handleBasicReturn method, and that method has
39+
* ReturnListener's handleReturn method, and that method has
4040
* thrown an exception.
4141
* @param channel the ChannelN that held the ReturnListener
42-
* @param exception the exception thrown by ReturnListener.handleBasicReturn
42+
* @param exception the exception thrown by ReturnListener.handleReturn
4343
*/
4444
void handleReturnListenerException(Channel channel, Throwable exception);
4545

0 commit comments

Comments
 (0)