We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97fd5cf commit 5ad42b3Copy full SHA for 5ad42b3
src/main/java/com/rabbitmq/client/impl/nio/NioLoop.java
@@ -67,7 +67,7 @@ public void run() {
67
boolean writeRegistered = false;
68
69
try {
70
- while (true && !Thread.currentThread().isInterrupted()) {
+ while (!Thread.currentThread().isInterrupted()) {
71
72
for (SelectionKey selectionKey : selector.keys()) {
73
SocketChannelFrameHandlerState state = (SocketChannelFrameHandlerState) selectionKey.attachment();
0 commit comments