ascherbakoff commented on a change in pull request #3501: ignite-7648
URL: https://github.com/apache/ignite/pull/3501#discussion_r254266399
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
 ##########
 @@ -3082,11 +3095,10 @@ else if (log.isDebugEnabled())
             try {
                 safeShmemHandshake(client, node.id(), 
timeoutHelper.nextTimeoutChunk(connTimeout0));
             }
-            catch (HandshakeTimeoutException | 
IgniteSpiOperationTimeoutException e) {
+            catch (IgniteSpiOperationTimeoutException e) {
                 client.forceClose();
 
-                if (failureDetectionTimeoutEnabled() && (e instanceof 
HandshakeTimeoutException ||
-                    timeoutHelper.checkFailureTimeoutReached(e))) {
+                if (failureDetectionTimeoutEnabled() && 
(timeoutHelper.checkFailureTimeoutReached(e))) {
 
 Review comment:
   Unneeded bracket.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to