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:
leventov
2016-06-24 17:49:34 +07:00
parent fc6e2af7e4
commit 4cffff652f
23 changed files with 138 additions and 55 deletions
@@ -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) {