Multiple markers at this line
- ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
- Type safety: The expression of type ArrayList needs unchecked conversion to conform to
List<CalCalendar>
其实吧都是赖,唉,


写个代码审查以及修订程序,一遍历过去就搞定了,有些客户公司对代码还是有要求的嘛,哈哈



本文讨论了在Java中使用ArrayList时的关键点,强调类型安全的重要性,以及如何在进行代码审查时处理客户对公司代码规范的要求,包括参数化泛型和可能的uncheckedconversion问题。
1万+

被折叠的 条评论
为什么被折叠?



