Use netty5 package

This commit is contained in:
Andrea Cavalli 2021-09-04 02:19:24 +02:00
parent 59a209cfb5
commit 00a5323913
4 changed files with 11 additions and 30 deletions

View File

@ -18,13 +18,11 @@
package org.warp.filesponge; package org.warp.filesponge;
import io.netty.buffer.ByteBuf; import io.netty5.buffer.api.Buffer;
import io.netty.buffer.api.Buffer; import io.netty5.buffer.api.Drop;
import io.netty.buffer.api.Drop; import io.netty5.buffer.api.Owned;
import io.netty.buffer.api.Owned; import io.netty5.buffer.api.Send;
import io.netty.buffer.api.Send; import io.netty5.buffer.api.internal.ResourceSupport;
import io.netty.buffer.api.internal.ResourceSupport;
import it.cavallium.dbengine.database.LLEntry;
import java.util.Objects; import java.util.Objects;
public final class DataBlock extends ResourceSupport<DataBlock, DataBlock> { public final class DataBlock extends ResourceSupport<DataBlock, DataBlock> {

View File

@ -20,12 +20,8 @@ package org.warp.filesponge;
import static org.warp.filesponge.FileSponge.BLOCK_SIZE; import static org.warp.filesponge.FileSponge.BLOCK_SIZE;
import io.netty.buffer.ByteBuf; import io.netty5.buffer.api.Buffer;
import io.netty.buffer.Unpooled; import io.netty5.buffer.api.Send;
import io.netty.buffer.api.Buffer;
import io.netty.buffer.api.CompositeBuffer;
import io.netty.buffer.api.Send;
import io.netty.util.ReferenceCounted;
import it.cavallium.dbengine.database.Column; import it.cavallium.dbengine.database.Column;
import it.cavallium.dbengine.database.LLDatabaseConnection; import it.cavallium.dbengine.database.LLDatabaseConnection;
import it.cavallium.dbengine.database.LLDictionary; import it.cavallium.dbengine.database.LLDictionary;

View File

@ -18,24 +18,13 @@
package org.warp.filesponge; package org.warp.filesponge;
import io.netty.buffer.ByteBuf; import io.netty5.buffer.api.Buffer;
import io.netty.buffer.ByteBufAllocator; import io.netty5.buffer.api.BufferAllocator;
import io.netty.buffer.ByteBufInputStream; import io.netty5.buffer.api.Send;
import io.netty.buffer.ByteBufOutputStream;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.buffer.api.Buffer;
import io.netty.buffer.api.BufferAllocator;
import io.netty.buffer.api.Send;
import it.cavallium.dbengine.database.serialization.BufferDataInput; import it.cavallium.dbengine.database.serialization.BufferDataInput;
import it.cavallium.dbengine.database.serialization.BufferDataOutput; import it.cavallium.dbengine.database.serialization.BufferDataOutput;
import it.cavallium.dbengine.database.serialization.Serializer; import it.cavallium.dbengine.database.serialization.Serializer;
import it.unimi.dsi.fastutil.booleans.BooleanArrayList; import it.unimi.dsi.fastutil.booleans.BooleanArrayList;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import org.apache.commons.lang3.SerializationException;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
/** /**

View File

@ -18,9 +18,7 @@
package org.warp.filesponge; package org.warp.filesponge;
import io.netty.buffer.ByteBuf; import io.netty5.buffer.api.BufferAllocator;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.api.BufferAllocator;
import it.cavallium.dbengine.database.serialization.Serializer; import it.cavallium.dbengine.database.serialization.Serializer;
public interface URL { public interface URL {