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