mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
reverted cff7c5bea8
This commit is contained in:
@@ -18,12 +18,15 @@
|
||||
|
||||
package net.openhft.chronicle.set;
|
||||
|
||||
import net.openhft.chronicle.hash.serialization.AgileBytesMarshaller;
|
||||
import net.openhft.chronicle.hash.serialization.BytesInterop;
|
||||
import net.openhft.chronicle.hash.serialization.BytesReader;
|
||||
import net.openhft.chronicle.hash.serialization.SizeMarshaller;
|
||||
import net.openhft.lang.io.Bytes;
|
||||
|
||||
import static net.openhft.chronicle.set.DummyValue.DUMMY_VALUE;
|
||||
|
||||
enum DummyValueMarshaller implements AgileBytesMarshaller<DummyValue> {
|
||||
enum DummyValueMarshaller
|
||||
implements BytesInterop<DummyValue>, BytesReader<DummyValue>, SizeMarshaller {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
@@ -42,7 +45,7 @@ enum DummyValueMarshaller implements AgileBytesMarshaller<DummyValue> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DummyValue read(Bytes bytes, long size, DummyValue dummyValue) {
|
||||
public DummyValue read(Bytes bytes, long size, DummyValue toReuse) {
|
||||
return DUMMY_VALUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user