List is a raw type. References to generic type List<E> should be parameterized,该如何处理
List is a raw type. References to generic type List<E> should be parameterized,该如何处理
日期:2014-05-17 浏览次数:20916 次
List is a raw type. References to generic type List<E> should be parameterized 原来在程序中没有出现过这个问题:一下子在程序中出现 100个警告: List is a raw type. References to generic type List<E> should be parameterized
比如: List test = (ArrayList)session.getAttribute("test");