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
+1
-7
@@ -203,13 +203,7 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private ArrayList<VcsLogEntity> getLogInRev(VcsRevEntity revEntity) {
|
private ArrayList<VcsLogEntity> getLogInRev(VcsRevEntity revEntity) {
|
||||||
ArrayList<VcsLogEntity> vcsLogEntities = new ArrayList<>();
|
return new ArrayList<>(database.vcsLogDao().findByIds(revEntity.logIds));
|
||||||
revEntity.logIds.forEach(logId -> {
|
|
||||||
VcsLogEntity vcsLogEntity = database.vcsLogDao().findById(logId);
|
|
||||||
vcsLogEntities.add(vcsLogEntity);
|
|
||||||
});
|
|
||||||
|
|
||||||
return vcsLogEntities;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in new issue
Block a user