Unchecked call to add(E) as a member of raw type java.util.List

// warnning
private List list = new ArrayList();
 
// ok /put type of added object
private List<String> list = new ArrayList<String>();
This entry was posted in Bugs, warnings, errors and tagged , . Bookmark the permalink.


Comments are closed.

1,075 views