我收到警告
warning: [unchecked] unchecked call to add(E) as a member of the
raw type java.util.List
[javac] listbox.getChildren().add(listaMenu);
wherelistaMenu
被声明为
UISelectItems listaMenu = new UISelectItems();
并被listbox
声明为
HtmlSelectOneListbox listbox = new HtmlSelectOneListbox();
使用 ant 构建任务进行编译时,如何消除此警告消息?
谢谢