From 93d2e749acf1f6117db9303c956e80a5da60d493 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Wed, 24 Jul 2024 19:55:11 +0300 Subject: [PATCH] WIP --- .../internal/pagemem/wal/record/LazyDataEntry.java | 4 ++-- .../internal/pagemem/wal/record/UnwrapDataEntry.java | 2 +- .../test/java/org/apache/ignite/cdc/CdcSelfTest.java | 3 +-- .../processors/cache/GridCacheTestEntryEx.java | 11 +++++------ 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/LazyDataEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/LazyDataEntry.java index a4dc5a90dac75f..df908ffb2d2c64 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/LazyDataEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/LazyDataEntry.java @@ -174,12 +174,12 @@ public byte[] getValBytes() { return valBytes; } - /** {@inheritDoc} */ + /** TODO {@inheritDoc} */ public byte getPreviousStateMetadataType() { return prevStateMetaType; } - /** {@inheritDoc} */ + /** TODO {@inheritDoc} */ public byte[] getPreviousStateMetadataBytes() { return prevStateMetaBytes; } diff --git a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/UnwrapDataEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/UnwrapDataEntry.java index a6a385276b49e7..134f8b4b5e68b1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/UnwrapDataEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/UnwrapDataEntry.java @@ -106,7 +106,7 @@ public Object unwrappedValue() { } } - /** {@inheritDoc} */ + /** TODO {@inheritDoc} */ public Object unwrappedPreviousStateMetadata() { try { return unwrapValue(prevStateMeta, keepBinary, cacheObjValCtx); diff --git a/modules/core/src/test/java/org/apache/ignite/cdc/CdcSelfTest.java b/modules/core/src/test/java/org/apache/ignite/cdc/CdcSelfTest.java index a24b2abe67ef62..fc4894b3c9acaf 100644 --- a/modules/core/src/test/java/org/apache/ignite/cdc/CdcSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/cdc/CdcSelfTest.java @@ -428,8 +428,7 @@ public void testReadOneByOneForBackup() throws Exception { AtomicBoolean firstEvt = new AtomicBoolean(true); CdcConsumer cnsmr = new CdcConsumer() { - @Override - public void start(MetricRegistry mreg) { + @Override public void start(MetricRegistry mreg) { // No-op. } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTestEntryEx.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTestEntryEx.java index 88120a7a6cc562..3bfa07b269fe05 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTestEntryEx.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTestEntryEx.java @@ -72,14 +72,14 @@ public GridCacheTestEntryEx(GridCacheContext context, KeyCacheObject key, CacheO } /** {@inheritDoc} */ - @Override - public boolean initialValue(CacheObject val, GridCacheVersion ver, long ttl, long expireTime, boolean preload, AffinityTopologyVersion topVer, GridDrType drType, boolean fromStore, boolean primary, @Nullable CacheDataRow row) throws IgniteCheckedException, GridCacheEntryRemovedException { + @Override public boolean initialValue(CacheObject val, GridCacheVersion ver, long ttl, long expireTime, boolean preload, + AffinityTopologyVersion topVer, GridDrType drType, boolean fromStore, boolean primary, @Nullable CacheDataRow row) + throws IgniteCheckedException, GridCacheEntryRemovedException { return false; } /** {@inheritDoc} */ - @Override - public int memorySize() throws IgniteCheckedException { + @Override public int memorySize() throws IgniteCheckedException { return 0; } @@ -537,8 +537,7 @@ public int memorySize() throws IgniteCheckedException { } /** {@inheritDoc} */ - @Override - public @Nullable CacheObject unswap(boolean needVal) throws IgniteCheckedException, GridCacheEntryRemovedException { + @Override public @Nullable CacheObject unswap(boolean needVal) throws IgniteCheckedException, GridCacheEntryRemovedException { return null; }