Fix serialization of sync/async replication type

This commit is contained in:
Igor Motov 2013-04-25 08:25:31 +02:00
parent dd12e0b86c
commit 982b570037
1 changed files with 2 additions and 2 deletions

View File

@ -56,9 +56,9 @@ public enum ReplicationType {
*/
public static ReplicationType fromId(byte id) {
if (id == 0) {
return ASYNC;
} else if (id == 1) {
return SYNC;
} else if (id == 1) {
return ASYNC;
} else if (id == 2) {
return DEFAULT;
} else {