dev add check count for all type
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-03-16 14:28:17 +07:00
parent 9186a6d9b0
commit c56b2ba4e9
2 changed files with 17 additions and 17 deletions
@@ -202,10 +202,10 @@ public class SearchImageService {
uniqueByUrl.putIfAbsent(normalizedUrl, image);
}
for (YandexSearchResponse.ImageResult image : yandexImages) {
String normalizedUrl = normalizeUrl(image.getUrl());
uniqueByUrl.putIfAbsent(normalizedUrl, image);
}
// for (YandexSearchResponse.ImageResult image : yandexImages) {
// String normalizedUrl = normalizeUrl(image.getUrl());
// uniqueByUrl.putIfAbsent(normalizedUrl, image);
// }
return new ArrayList<>(uniqueByUrl.values());
}