From b8709c8c34cecb832a28d816b8292df47c46c70b Mon Sep 17 00:00:00 2001 From: Atanas Atanasov Date: Mon, 16 Dec 2024 21:49:33 +0200 Subject: [PATCH] address pr comment Signed-off-by: Atanas Atanasov --- .../server/persistence/storage/PersistenceStorageConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java b/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java index 806080ebf..73311320d 100644 --- a/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java +++ b/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java @@ -63,7 +63,7 @@ public record PersistenceStorageConfig( */ public PersistenceStorageConfig { Objects.requireNonNull(type); - Objects.requireNonNull(compression).verifyCompressionLevel(compressionLevel); + compression.verifyCompressionLevel(compressionLevel); liveRootPath = resolvePath(liveRootPath, LIVE_ROOT_PATH, BLOCK_NODE_LIVE_ROOT_DIRECTORY_SEMANTIC_NAME); archiveRootPath = resolvePath(archiveRootPath, ARCHIVE_ROOT_PATH, BLOCK_NODE_ARCHIVE_ROOT_DIRECTORY_SEMANTIC_NAME);