Cyrill commented on code in PR #5694:
URL: https://github.com/apache/ignite-3/pull/5694#discussion_r2059981890


##########
modules/rest/src/main/java/org/apache/ignite/internal/rest/recovery/DisasterRecoveryController.java:
##########
@@ -158,6 +228,23 @@ private static GlobalPartitionStatesResponse 
convertGlobalStates(Map<TablePartit
         return new GlobalPartitionStatesResponse(states);
     }
 
+    private static GlobalZonePartitionStatesResponse 
convertGlobalZoneStates(Map<ZonePartitionId, GlobalPartitionState> 
globalStates) {
+        List<GlobalZonePartitionStateResponse> states = new ArrayList<>();
+

Review Comment:
   Cannot we use stream api 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.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to