mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
リファクタリング
This commit is contained in:
1 file changed
+2
-2
@@ -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<>()};
|
||||||
|
|||||||
Reference in new issue
Block a user