sanpwc commented on code in PR #1797:
URL: https://github.com/apache/ignite-3/pull/1797#discussion_r1142097387


##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DistributionZonesUtil.java:
##########
@@ -248,7 +271,7 @@ static Update updateLogicalTopologyAndVersion(Set<String> 
logicalTopology, long
      * @return Returns a set of data nodes retrieved from data nodes map, 
which value is more than 0.
      */
     public static Set<String> dataNodes(Map<String, Integer> dataNodesMap) {
-        return dataNodesMap.entrySet().stream().filter(e -> e.getValue() > 
0).map(Entry::getKey).collect(Collectors.toSet());
+        return dataNodesMap.entrySet().stream().filter(e -> e.getValue() > 
0).map(Map.Entry::getKey).collect(Collectors.toSet());

Review Comment:
   Let's restore the import java.util.Map.Entry;



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