This is an automated email from the ASF dual-hosted git repository. av pushed a commit to branch ignite-20177 in repository https://gitbox.apache.org/repos/asf/ignite.git
commit d3c5bb60c927183b9319e795fc9c337a5e95a7c3 Author: Anton Vinogradov <a...@apache.org> AuthorDate: Mon Aug 7 22:47:16 2023 +0300 WIP --- .../processors/cache/distributed/dht/GridDhtLockFuture.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockFuture.java index f438a713891..a3c15d8bae2 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockFuture.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockFuture.java @@ -45,6 +45,7 @@ import org.apache.ignite.internal.processors.cache.GridCacheContext; import org.apache.ignite.internal.processors.cache.GridCacheEntryEx; import org.apache.ignite.internal.processors.cache.GridCacheEntryInfo; import org.apache.ignite.internal.processors.cache.GridCacheEntryRemovedException; +import org.apache.ignite.internal.processors.cache.GridCacheMapEntry; import org.apache.ignite.internal.processors.cache.GridCacheMvccCandidate; import org.apache.ignite.internal.processors.cache.GridCacheOperation; import org.apache.ignite.internal.processors.cache.GridCacheVersionedFuture; @@ -479,11 +480,7 @@ public final class GridDhtLockFuture extends GridCacheCompoundIdentityFuture<Boo if (dist && tx == null) { cctx.dhtTx().removeLocks(nearNodeId, lockVer, F.viewReadOnly(entriesCp, - new C1<GridDhtCacheEntry, KeyCacheObject>() { - @Override public KeyCacheObject apply(GridDhtCacheEntry e) { - return e.key(); - } - }), false); + (C1<GridDhtCacheEntry, KeyCacheObject>)GridCacheMapEntry::key), false); } else { if (tx != null) {