blob: 25b2670909918d093a48ca1b64fc82072c1c5689 [file]
// "Replace with 'merge' method call" "true"
import java.util.Map;
public class Main {
public void testMerge(Map<String, Integer> map, String key) {
map.merge(key, 1, Integer::sum)
}
}