ololo3000 commented on a change in pull request #9106:
URL: https://github.com/apache/ignite/pull/9106#discussion_r635248974



##########
File path: 
modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/internal/ConnectionClientPool.java
##########
@@ -670,8 +679,11 @@ public boolean removeNodeClient(UUID nodeId, 
GridCommunicationClient rmvClient)
         for (; ; ) {
             GridCommunicationClient[] curClients = clients.get(nodeId);
 
-            if (curClients == null || rmvClient.connectionIndex() >= 
curClients.length || curClients[rmvClient.connectionIndex()] != rmvClient)
+            if (curClients == null
+                || rmvClient.connectionIndex() >= curClients.length
+                || curClients[rmvClient.connectionIndex()] != rmvClient) {

Review comment:
       The next statement is one-liner. We don't need braces here.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to