// "Replace with 'getOrDefault()' call" "true"
import java.util.Map;

public class Main {
  private static final String NONE = "none";

  private String str;

  public String testGetOrDefault(Map<String, String> map, String key, Main other) {
    return map.getOrDefault(key, "oops");
  }
}