mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
リファクタリング
This commit is contained in:
parent
b58e80f7ea
commit
cd1a58dcc0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user