范型我都加过了,不知道为什么还出错
警告原文:
Multiple markers at this line
- HashSet is a raw type. References to generic type HashSet<E>
should be parameterized
- Type safety: The expression of type HashSet needs unchecked
conversion to conform to Set<Course>
...全文
99回复打赏收藏
请问这个警告如何去掉
范型我都加过了,不知道为什么还出错 警告原文: Multiple markers at this line - HashSet is a raw type. References to generic type HashSet should be parameterized - Type safety: The expression of type HashSet needs unchecked conversion to conform to Set