From 981e2a5cd89b0980d9b824908582f740d04b3905 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 2 Oct 2022 03:11:07 +0200 Subject: [PATCH] Update netty --- src/main/java/org/warp/filesponge/DataBlock.java | 8 ++++---- src/main/java/org/warp/filesponge/DiskCache.java | 2 +- src/main/java/org/warp/filesponge/DiskMetadata.java | 4 ++-- src/main/java/org/warp/filesponge/URL.java | 2 +- src/main/java/org/warp/filesponge/URLSerializer.java | 4 ++-- .../java/org/warp/filesponge/URLStringSerializer.java | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/warp/filesponge/DataBlock.java b/src/main/java/org/warp/filesponge/DataBlock.java index 1ff3a5b..e8eedbe 100644 --- a/src/main/java/org/warp/filesponge/DataBlock.java +++ b/src/main/java/org/warp/filesponge/DataBlock.java @@ -20,11 +20,11 @@ package org.warp.filesponge; import static java.lang.Math.toIntExact; -import io.netty5.buffer.api.Buffer; -import io.netty5.buffer.api.Drop; -import io.netty5.buffer.api.Owned; +import io.netty5.buffer.Buffer; +import io.netty5.buffer.Drop; +import io.netty5.buffer.Owned; import io.netty5.util.Send; -import io.netty5.buffer.api.internal.ResourceSupport; +import io.netty5.buffer.internal.ResourceSupport; import java.util.Objects; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; diff --git a/src/main/java/org/warp/filesponge/DiskCache.java b/src/main/java/org/warp/filesponge/DiskCache.java index abcb038..332cf8b 100644 --- a/src/main/java/org/warp/filesponge/DiskCache.java +++ b/src/main/java/org/warp/filesponge/DiskCache.java @@ -21,7 +21,7 @@ package org.warp.filesponge; import static java.lang.Math.toIntExact; import static org.warp.filesponge.FileSponge.BLOCK_SIZE; -import io.netty5.buffer.api.Buffer; +import io.netty5.buffer.Buffer; import io.netty5.util.Resource; import io.netty5.util.Send; import it.cavallium.dbengine.client.IBackuppable; diff --git a/src/main/java/org/warp/filesponge/DiskMetadata.java b/src/main/java/org/warp/filesponge/DiskMetadata.java index 6d90975..e147f1c 100644 --- a/src/main/java/org/warp/filesponge/DiskMetadata.java +++ b/src/main/java/org/warp/filesponge/DiskMetadata.java @@ -20,8 +20,8 @@ package org.warp.filesponge; import static java.lang.Math.toIntExact; -import io.netty5.buffer.api.Buffer; -import io.netty5.buffer.api.BufferAllocator; +import io.netty5.buffer.Buffer; +import io.netty5.buffer.BufferAllocator; import io.netty5.util.Send; import it.cavallium.dbengine.database.serialization.BufferDataInputOwned; import it.cavallium.dbengine.database.serialization.BufferDataInputShared; diff --git a/src/main/java/org/warp/filesponge/URL.java b/src/main/java/org/warp/filesponge/URL.java index 6b78e7e..94a7164 100644 --- a/src/main/java/org/warp/filesponge/URL.java +++ b/src/main/java/org/warp/filesponge/URL.java @@ -18,7 +18,7 @@ package org.warp.filesponge; -import io.netty5.buffer.api.BufferAllocator; +import io.netty5.buffer.BufferAllocator; import it.cavallium.dbengine.database.serialization.Serializer; public interface URL { diff --git a/src/main/java/org/warp/filesponge/URLSerializer.java b/src/main/java/org/warp/filesponge/URLSerializer.java index a3c0b71..a0631c1 100644 --- a/src/main/java/org/warp/filesponge/URLSerializer.java +++ b/src/main/java/org/warp/filesponge/URLSerializer.java @@ -18,8 +18,8 @@ package org.warp.filesponge; -import io.netty5.buffer.api.Buffer; -import io.netty5.buffer.api.BufferAllocator; +import io.netty5.buffer.Buffer; +import io.netty5.buffer.BufferAllocator; import it.cavallium.dbengine.database.serialization.BufferDataOutput; import it.cavallium.dbengine.database.serialization.SerializationException; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/org/warp/filesponge/URLStringSerializer.java b/src/main/java/org/warp/filesponge/URLStringSerializer.java index cc41e90..9650d2f 100644 --- a/src/main/java/org/warp/filesponge/URLStringSerializer.java +++ b/src/main/java/org/warp/filesponge/URLStringSerializer.java @@ -18,7 +18,7 @@ package org.warp.filesponge; -import io.netty5.buffer.api.Buffer; +import io.netty5.buffer.Buffer; import it.cavallium.dbengine.database.serialization.BufferDataOutput; import it.cavallium.dbengine.database.serialization.SerializationException; import org.jetbrains.annotations.NotNull;