// "Replace Stream API chain with loop" "true" import java.util.Arrays; import java.util.List; public class Main { private static Integer test(List numbers) { return numbers.stream().reduce(0, Math::max); } public static void main(String[] args) { test(Arrays.asList("a", "b", "xyz")); } }