mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
リファクタリング
This commit is contained in:
parent
8c4e651a79
commit
929ba7347c
|
@ -215,8 +215,8 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||
@Override
|
||||
public CompletableFuture<ArrayList<String>> getDocumentPagePathListRev(String revId) {
|
||||
return CompletableFuture.supplyAsync(() -> {
|
||||
ArrayList<VcsRevEntity> vcsRevEntities = getRevBeforeTargetIdAsync(revId).join();
|
||||
ArrayList<VcsLogEntity> vcsLogEntities = getLogInRevs(vcsRevEntities).join();
|
||||
logger.debug(TAG, "getDocumentPagePathListRev");
|
||||
ArrayList<VcsLogEntity> vcsLogEntities = getRevBeforeTargetIdAsync(revId).thenCompose(this::getLogInRevs).join();
|
||||
|
||||
// finalで宣言しないとLambda式内で扱えないので
|
||||
final ArrayList<String>[] fileNameList = new ArrayList[]{new ArrayList<>()};
|
||||
|
|
Loading…
Reference in New Issue
Block a user