CREATE_DOCUMENTに対応できるようにした

This commit is contained in:
r-ca 2024-01-24 18:12:35 +09:00
parent 4b1ae7326b
commit dfd488329b
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -233,8 +233,11 @@ public class LacertaVcsImpl implements LacertaVcs {
} else if (vcsLogEntity.actionType.equals(ActionType.DELETE_PAGE.getValue())){ } else if (vcsLogEntity.actionType.equals(ActionType.DELETE_PAGE.getValue())){
DeletePage deletePage = (DeletePage) JsonUtils.fromJson(vcsLogEntity.action, ActionType.DELETE_PAGE); DeletePage deletePage = (DeletePage) JsonUtils.fromJson(vcsLogEntity.action, ActionType.DELETE_PAGE);
fileNameList[0].remove(deletePage.getIndex()); fileNameList[0].remove(deletePage.getIndex());
} else if (vcsLogEntity.actionType.equals(ActionType.CREATE_DOCUMENT.getValue())) {
// Ignore
logger.debug(TAG, "getDocumentPagePathListRev: Ignored action type: " + vcsLogEntity.actionType);
} else { } else {
logger.debug(TAG, "Unknown action type"); logger.error(TAG, "getDocumentPagePathListRev: Unknown action type");
} }
}); });