blob: 4998773991626c00c0e61c03036a6a916e01d185 [file]
// "Replace with 'computeIfAbsent' method call" "true"
import java.util.Map;
public class Main {
public void test(Map<String, List<String>> map, String key) {
map.computeIfAbsent(key, k -> new ArrayList<>());
System.out.println(map);
}
}