mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +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) {
|
||||
ArrayList<VcsLogEntity> vcsLogEntities = new ArrayList<>();
|
||||
revEntity.logIds.forEach(logId -> {
|
||||
VcsLogEntity vcsLogEntity = database.vcsLogDao().findById(logId);
|
||||
vcsLogEntities.add(vcsLogEntity);
|
||||
});
|
||||
|
||||
return vcsLogEntities;
|
||||
return new ArrayList<>(database.vcsLogDao().findByIds(revEntity.logIds));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user