sashapolo commented on code in PR #5315: URL: https://github.com/apache/ignite-3/pull/5315#discussion_r1995042423
########## modules/cli/src/main/java/org/apache/ignite/internal/cli/commands/cluster/init/ClusterInitOptions.java: ########## @@ -216,8 +216,8 @@ private DuplicatesChecker(String optionToCheck) { } private boolean hasDuplicate(List<String> args) { - var arr = args.toArray(String[]::new); - for (var str : arr) { + String[] arr = args.toArray(String[]::new); Review Comment: Probably not related to your PR, but why do we need this array conversion? -- 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