Java Yaml Unchecked актерский состав
@SuppressWarnings("unchecked")
List<String> myList = (List<String>)config.getList("mylist", new ArrayList<String>());
Grotesque Gharial
@SuppressWarnings("unchecked")
List<String> myList = (List<String>)config.getList("mylist", new ArrayList<String>());