java yaml cast yang tidak dicentang

@SuppressWarnings("unchecked")
List<String> myList = (List<String>)config.getList("mylist", new ArrayList<String>());
Grotesque Gharial