refactor(ocr): use stream .toList() instead of FQCN Collectors.toList()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-17 21:47:36 +02:00
parent b396fccd52
commit bbfd234746

View File

@@ -206,7 +206,7 @@ public class OcrTrainingService {
.map(OcrTrainingRun::getPersonId)
.filter(Objects::nonNull)
.distinct()
.collect(java.util.stream.Collectors.toList());
.toList();
Map<String, String> personNames = new HashMap<>();
if (!distinctPersonIds.isEmpty()) {
personService.getAllById(distinctPersonIds)