摘要: 在编写java类中使用了List/Map类,可是总是提示:List is a raw type. References to generic type List should be parameterized. 后来在网上找到了这样的方法: 在使用List/Map的每个方法前面加上下面的一句: @SuppressWarnings("unchecked") 下面紧跟使用的方法。 譬如: @SuppressWarnings("unchecked") public String selectsql(String basedataname){ HttpServl 阅读全文
posted @ 2011-06-30 15:49 大陶陶 阅读(15303) 评论(1) 推荐(0)