mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
CREATE_DOCUMENTに対応できるようにした
This commit is contained in:
parent
4b1ae7326b
commit
dfd488329b
|
@ -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");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user