SyntaxFix
Write A Post
Hire A Developer
Questions
You want to use:
Collections.<String>emptyList();
If you look at the source for what emptyList does you see that it actually just does a
return (List<T>)EMPTY_LIST;