// "Replace iteration with bulk 'CrudRepository.save' call" "true" package org.springframework.data.repository; import java.io.Serializable; import java.util.List; interface CrudRepository { Iterable save(Iterable entities); S save(S entity); } public class Main { public void test(CrudRepository, Integer> repo, Iterable> stringsToSave) { stringsToSave.forEach(repo::save); } }