0
我使用3.0阿帕奇卡宴, 我怎麼能ommit @SuppressWarnings(「未登記」)在Eclipse這樣的簡單代碼:阿帕奇卡宴performQuery結果列表中投
public List<Some> getSomes() {
SelectQuery select = new SelectQuery(Some.class);
List<Some> somes = dbContext.performQuery(select);
return somes;
}
我找不到任何解決方案,是因爲(我認爲)performQuery回調一個對象列表?