tkalkirill commented on code in PR #3589:
URL: https://github.com/apache/ignite-3/pull/3589#discussion_r1562037536


##########
modules/storage-api/src/testFixtures/java/org/apache/ignite/internal/storage/AbstractMvTableStorageTest.java:
##########
@@ -123,25 +126,24 @@ public abstract class AbstractMvTableStorageTest extends 
BaseMvStoragesTest {
 
     protected StorageHashIndexDescriptor hashIdx;
 
+    protected StorageIndexDescriptor pkIdx;
+
     private final CatalogService catalogService = mock(CatalogService.class);
 
-    protected final StorageIndexDescriptorSupplier indexDescriptorSupplier = 
new StorageIndexDescriptorSupplier() {
-        @Override
-        public @Nullable StorageIndexDescriptor get(int indexId) {
-            int catalogVersion = catalogService.latestCatalogVersion();
+    protected final StorageIndexDescriptorSupplier indexDescriptorSupplier = 
indexId -> {

Review Comment:
   Lambda takes fewer lines of code, looks more modern and elegant, are you 
against it?



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