【发布时间】:2012-10-21 12:07:46
【问题描述】:
我收到警告
warning: [unchecked] unchecked call to add(E) as a member of the
raw type java.util.List
[javac] listbox.getChildren().add(listaMenu);
listaMenu 被声明为
UISelectItems listaMenu = new UISelectItems();
并且listbox被声明为
HtmlSelectOneListbox listbox = new HtmlSelectOneListbox();
当我使用 ant build 任务进行编译时,如何消除此警告消息?
谢谢
【问题讨论】: