yozaneaux commented on a change in pull request #726:
URL: https://github.com/apache/ignite-3/pull/726#discussion_r830627572



##########
File path: 
modules/configuration-annotation-processor/src/integrationTest/java/org/apache/ignite/internal/configuration/processor/AbstractProcessorTest.java
##########
@@ -133,7 +132,7 @@ public BatchCompilation(List<ClassName> schemaClasses, 
Compilation compilation)
             generatedSources = compilation.generatedSourceFiles();
 
             generatedClasses = generatedSources.stream()
-                    .collect(Collectors.toMap(object -> 
fromGeneratedFilePath(object.getName()), Functions.identity()));
+                    .collect(Collectors.toMap(object -> 
fromGeneratedFilePath(object.getName()), o -> o));

Review comment:
       You could use `Function.identity()` from `import 
java.util.function.Function;` package.

##########
File path: 
modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/ItDataSchemaSyncTest.java
##########
@@ -132,7 +131,7 @@ void beforeEach() throws Exception {
      */
     @AfterEach
     void afterEach() throws Exception {
-        IgniteUtils.closeAll(Lists.reverse(clusterNodes));
+        IgniteUtils.closeAll(clusterNodes);

Review comment:
       If you want to keep the reverse, you could use:
   ```
           Collections.reverse(clusterNodes);
           IgniteUtils.closeAll(clusterNodes);
   ```




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