I am compiling my code in the IDE and I get a couple of warnings. One with a recommendation:
java: Recompile with -Xlint:unchecked for details
How do I do this?
The code in question looks like:
The getViews() is returning a List not a List<ViewDesign> hence the error. Ideally I would like to add an annotation to supress the warning but when I do that I get an error that Annotations are not allowed here. Ideas?