mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-09-09 12:09:25 +00:00 
			
		
		
		
	リファクタリング
This commit is contained in:
		
							parent
							
								
									daab41620f
								
							
						
					
					
						commit
						b58e80f7ea
					
				| 
						 | 
				
			
			@ -195,13 +195,11 @@ public class LacertaVcsImpl implements LacertaVcs {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    private ArrayList<VcsLogEntity> getLogInRevs(ArrayList<VcsRevEntity> vcsRevEntities){
 | 
			
		||||
        ArrayList<VcsLogEntity> vcsLogEntities = new ArrayList<>();
 | 
			
		||||
        List<String> logIds = new ArrayList<>();
 | 
			
		||||
        vcsRevEntities.forEach(vcsRevEntity -> {
 | 
			
		||||
            List<String> logIds = new ArrayList<>(vcsRevEntity.logIds);
 | 
			
		||||
            vcsLogEntities.addAll(database.vcsLogDao().findByIds(logIds));
 | 
			
		||||
            logIds.addAll(vcsRevEntity.logIds);
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        return vcsLogEntities;
 | 
			
		||||
        return new ArrayList<>(database.vcsLogDao().findByIds(logIds));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private ArrayList<VcsLogEntity> getLogInRev(VcsRevEntity revEntity) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user