blob: 58b0ab49a42d4d4fe2618f9f005d3fd46f3b700c [file]
// "Replace with 'getOrDefault' method call" "true"
import java.util.Map;
public class Main {
public void testGetOrDefault(Map<String, String> map, String key, Main other) {
String a = null, str = map.get(key);
// before if
if(str == nu<caret>ll) {
// comment
str = "";
/* after comment */
}
System.out.println(str);
}
}