blob: 0d275eec2dcffa79cca23441e6af76312c9158af [file]
// "Replace with 'getOrDefault' method call" "false"
import java.util.Map;
public class Main {
private String str;
public void testGetOrDefault(Map<String, String> map, String key, Main other) {
str = map.get(key);
if(other.str ==<caret> null) {
// comment
str = "";
}
System.out.println(str);
}
}