mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Update to newer Core, Bytes & Wire dependency versions; make all enum marshallers ordinary classes with static INSTANCE fields, because of difficulties with Wire serialization of enums
This commit is contained in:
@@ -32,9 +32,11 @@ import java.util.zip.InflaterInputStream;
|
||||
/**
|
||||
* Created by peter on 24/10/14.
|
||||
*/
|
||||
public enum DeflatorStringMarshaller implements BytesReader<CharSequence>,
|
||||
public final class DeflatorStringMarshaller implements BytesReader<CharSequence>,
|
||||
BytesWriter<CharSequence>, EnumMarshallable<DeflatorStringMarshaller> {
|
||||
INSTANCE;
|
||||
public static final DeflatorStringMarshaller INSTANCE = new DeflatorStringMarshaller();
|
||||
|
||||
private DeflatorStringMarshaller() {}
|
||||
|
||||
private static final StringFactory STRING_FACTORY = getStringFactory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user