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