Files
openide/java/java-tests/testData/inspection/java8MapApi/afterReplaceAllKeySetMapUsage.java

12 lines
257 B
Java

// "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.put("foo", "bar");
map.replaceAll((k, v) -> v);
}
}