blob: 1a4fc281c289e8a491319887ae052a86f0d0cda2 [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.getOrDefault(key, "");
// before if
// comment
/* after comment */
System.out.println(str);
}
}