Skip to content
This repository was archived by the owner on Apr 15, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.io.RandomAccessFile;
import java.nio.ByteOrder;
import java.nio.channels.FileChannel;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class MappedBytes extends ByteBufferBytes {
* @param size The count of the buffer to allocate (in bytes).
* @return The mapped buffer.
* @throws NullPointerException If {@code file} is {@code null}
* @throws IllegalArgumentException If {@code count} is greater than {@link MappedMemory#MAX_SIZE}
* @throws IllegalArgumentException If {@code count} is greater than {@link Integer#MAX_VALUE}
*
* @see #allocate(java.io.File, java.nio.channels.FileChannel.MapMode, long)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import io.atomix.catalyst.buffer.util.NativeMemory;

import java.nio.ByteOrder;
import java.nio.charset.StandardCharsets;

/**
* Native bytes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ public Serializer register(Class<?> type, int id, TypeSerializerFactory factory)
* Abstract serializers allow abstract types to be serialized without explicitly registering a concrete type.
* The concept of abstract serializers differs from {@link #registerDefault(Class, TypeSerializerFactory) default serializers}
* in that abstract serializers can be registered with a serializable type ID, and types {@link #register(Class) registered}
* without a specific {@link TypeSerializer} do not inheret from abstract serializers.
* without a specific {@link TypeSerializer} do not inherit from abstract serializers.
* <pre>
* {@code
* serializer.registerAbstract(List.class, AbstractListSerializer.class);
Expand All @@ -512,7 +512,7 @@ public Serializer registerAbstract(Class<?> abstractType, Class<? extends TypeSe
* Abstract serializers allow abstract types to be serialized without explicitly registering a concrete type.
* The concept of abstract serializers differs from {@link #registerDefault(Class, TypeSerializerFactory) default serializers}
* in that abstract serializers can be registered with a serializable type ID, and types {@link #register(Class) registered}
* without a specific {@link TypeSerializer} do not inheret from abstract serializers.
* without a specific {@link TypeSerializer} do not inherit from abstract serializers.
* <pre>
* {@code
* serializer.registerAbstract(List.class, AbstractListSerializer.class);
Expand All @@ -537,7 +537,7 @@ public Serializer registerAbstract(Class<?> abstractType, TypeSerializerFactory
* Abstract serializers allow abstract types to be serialized without explicitly registering a concrete type.
* The concept of abstract serializers differs from {@link #registerDefault(Class, TypeSerializerFactory) default serializers}
* in that abstract serializers can be registered with a serializable type ID, and types {@link #register(Class) registered}
* without a specific {@link TypeSerializer} do not inheret from abstract serializers.
* without a specific {@link TypeSerializer} do not inherit from abstract serializers.
* <pre>
* {@code
* serializer.registerAbstract(List.class, AbstractListSerializer.class);
Expand All @@ -563,7 +563,7 @@ public Serializer registerAbstract(Class<?> abstractType, int id, Class<? extend
* Abstract serializers allow abstract types to be serialized without explicitly registering a concrete type.
* The concept of abstract serializers differs from {@link #registerDefault(Class, TypeSerializerFactory) default serializers}
* in that abstract serializers can be registered with a serializable type ID, and types {@link #register(Class) registered}
* without a specific {@link TypeSerializer} do not inheret from abstract serializers.
* without a specific {@link TypeSerializer} do not inherit from abstract serializers.
* <pre>
* {@code
* serializer.registerAbstract(List.class, AbstractListSerializer.class);
Expand Down