blob: 44a71c41577be7f391885efa0dc1ddfda9669c8c [file]
// "Replace with 'replaceAll' method call" "true"
import java.util.HashMap;
import java.util.Map;
public class Main {
public void test() {
Map<String, String> map = new HashMap<>();
map = new HashMap<>();
map.put("foo", "bar");
map.replaceAll((k, v) -> v);
}
}