mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	Replaced Stream.collect(Collectors.toList()) with Stream.toList() (Sonar) (#1018)
				
					
				
			Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									a63c0a3625
								
							
						
					
					
						commit
						54c3bee205
					
				@ -144,7 +144,7 @@ public class ExtractImageScansController {
 | 
			
		||||
 | 
			
		||||
                // Read the output photos in temp directory
 | 
			
		||||
                List<Path> tempOutputFiles =
 | 
			
		||||
                        Files.list(tempDir).sorted().collect(Collectors.toList());
 | 
			
		||||
                        Files.list(tempDir).sorted().toList();
 | 
			
		||||
                for (Path tempOutputFile : tempOutputFiles) {
 | 
			
		||||
                    byte[] imageBytes = Files.readAllBytes(tempOutputFile);
 | 
			
		||||
                    processedImageBytes.add(imageBytes);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user