From 20e1056e621cb3cc17997d7134422d87662dd1be Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Mon, 8 Nov 2021 16:34:04 +0100 Subject: [PATCH] Update --- src/main/java/org/warp/filesponge/DiskCache.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/warp/filesponge/DiskCache.java b/src/main/java/org/warp/filesponge/DiskCache.java index e30c756..5706eb9 100644 --- a/src/main/java/org/warp/filesponge/DiskCache.java +++ b/src/main/java/org/warp/filesponge/DiskCache.java @@ -83,7 +83,7 @@ public class DiskCache implements URLsDiskHandler, URLsWriter { () -> serializeMetadata(new DiskMetadata(metadata.size(), BooleanArrayList.wrap(new boolean[DiskMetadata.getBlocksCount(metadata.size(), BLOCK_SIZE)]) )) - ), UpdateReturnMode.NOTHING) + ).receive(), UpdateReturnMode.NOTHING) .then(); } @@ -164,7 +164,7 @@ public class DiskCache implements URLsDiskHandler, URLsWriter { result = null; } if (result != null) { - return serializeMetadata(result); + return serializeMetadata(result).receive(); } else { return null; }