From 5a21f6ddd4703946e7686a25b937eb56d0081cee Mon Sep 17 00:00:00 2001 From: Matt Peterson Date: Wed, 7 Aug 2024 14:53:06 -0600 Subject: [PATCH] wip: use test nonnull annotations Signed-off-by: Matt Peterson --- .../block/server/persistence/storage/BlockAsDirWriterTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/test/java/com/hedera/block/server/persistence/storage/BlockAsDirWriterTest.java b/server/src/test/java/com/hedera/block/server/persistence/storage/BlockAsDirWriterTest.java index 2492f7a3a..1136a728c 100644 --- a/server/src/test/java/com/hedera/block/server/persistence/storage/BlockAsDirWriterTest.java +++ b/server/src/test/java/com/hedera/block/server/persistence/storage/BlockAsDirWriterTest.java @@ -24,6 +24,7 @@ import com.hedera.block.server.util.PersistTestUtils; import com.hedera.block.server.util.TestUtils; +import edu.umd.cs.findbugs.annotations.NonNull; import io.helidon.config.Config; import io.helidon.config.MapConfigSource; import io.helidon.config.spi.ConfigSource; @@ -274,7 +275,7 @@ public TestBlockAsDirWriter( } @Override - public void write(final Path blockItemFilePath, final BlockItem blockItem) + public void write(@NonNull final Path blockItemFilePath, @NonNull final BlockItem blockItem) throws IOException { super.write(blockItemFilePath, blockItem); }