sergey-chugunov-1985 commented on code in PR #12963:
URL: https://github.com/apache/ignite/pull/12963#discussion_r3020622321


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ExchangeFailureMessage.java:
##########
@@ -123,7 +139,7 @@ public void exchangeRollbackActions(ExchangeActions 
exchangeRollbackActions) {
     public IgniteCheckedException createFailureCompoundException() {
         IgniteCheckedException ex = new IgniteCheckedException("Failed to 
complete exchange process.");
 
-        for (Map.Entry<UUID, Throwable> entry : exchangeErrors.entrySet())
+        for (Map.Entry<UUID, Throwable> entry : exchangeErrors().entrySet())

Review Comment:
   As far as I can see you don't need a map entry inside the loop, so iterating 
over values instead of entries would be enough.



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to