CharSequence (Map<String, ? extends CharSequence> map) { // cannot replace as map.getOrDefault("xyz", "none") will result in compilation error if(map.co<caret>ntainsKey("xyz")) { return map.get("xyz"); } else { return "none"; } }