blob: 478dccf34a34b38150b36d34cfcf39c037de1896 [file]
// "Replace with 'merge' method call" "false"
import java.util.Map;
public class Main {
public void testMerge(Map<String, Integer> map, String key, int add) {
Integer val = map.get(key);
if(val<caret> == null) {
map.put(key, add + val);
} else {
map.put(key, add)
}
System.out.println(val);
}
}