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:
@@ -129,9 +129,11 @@ public class Issue58 {
|
||||
}
|
||||
|
||||
|
||||
enum UuidMarshaller
|
||||
static final class UuidMarshaller
|
||||
implements BytesReader<UUID>, BytesWriter<UUID>, EnumMarshallable<UuidMarshaller> {
|
||||
INSTANCE;
|
||||
public static final UuidMarshaller INSTANCE = new UuidMarshaller();
|
||||
|
||||
private UuidMarshaller() {}
|
||||
|
||||
@Override
|
||||
public void write(Bytes bytes, @NotNull UUID uuid) {
|
||||
|
||||
Reference in New Issue
Block a user