diff --git a/src/main/java/org/opendatakit/aggregate/odktables/rest/SyncState.java b/src/main/java/org/opendatakit/aggregate/odktables/rest/SyncState.java index 05b94f943a..8dac6eceae 100644 --- a/src/main/java/org/opendatakit/aggregate/odktables/rest/SyncState.java +++ b/src/main/java/org/opendatakit/aggregate/odktables/rest/SyncState.java @@ -27,18 +27,18 @@ * *
  * insert:
- *     state = INSERTING
+ *     state = new_row
  *
  * update:
- *     if state == REST:
- *        state = UPDATING
+ *     if state == synced:
+ *        state = changed
  *
  * delete:
- *     if state == REST or state == UPDATING:
- *        state = DELETING
+ *     if state == synced or state == changed:
+ *        state = deleted
  *        don't actually delete yet (defer until sync)
- *     else if state == INSERTING:
- *        actually delete
+ *     else if state == new_row:
+ *        actually delete row in database
  * 
*

* @@ -46,5 +46,5 @@ * */ public enum SyncState { - rest, inserting, updating, deleting, conflicting, rest_pending_files; + synced, new_row, changed, deleted, in_conflict, synced_pending_files; }