Skip to content

Commit fc706eb

Browse files
author
Steve Powell
committed
Change variable name (see bug24569)
1 parent 4779b22 commit fc706eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ public void handleCompleteInboundCommand(AMQCommand command) throws IOException
153153
public void enqueueRpc(RpcContinuation k)
154154
{
155155
synchronized (_channelMutex) {
156-
boolean wasInterrupted = false;
156+
boolean waitClearedInterruptStatus = false;
157157
while (_activeRpc != null) {
158158
try {
159159
_channelMutex.wait();
160160
} catch (InterruptedException e) {
161-
wasInterrupted = true;
161+
waitClearedInterruptStatus = true;
162162
}
163163
}
164-
if (wasInterrupted) {
164+
if (waitClearedInterruptStatus) {
165165
Thread.currentThread().interrupt();
166166
}
167167
_activeRpc = k;

0 commit comments

Comments
 (0)