blob: 921283ae74a76a0f5a971c81a006e2e3f63719e8 [file]
// "Replace with 'getOrDefault' method call" "true"
import java.util.Map;
public class Main {
private static final String NONE = "none";
private String str;
public void testGetOrDefault(Map<String, String> map, String key, Main other) {
str = map.getOrDefault(key, NONE);
/*
block comment
*/
System.out.println(str);
}
}