jjzjj

pepperWorkflowInstance

全部标签

java - 为什么从一种类型到相同类型的赋值需要检查?

我在类里面运行IntelliJ的代码分析器(IntelliJ11.1.4)并收到此警告:Uncheckedassignment:'java.util.List'to'java.util.List'它提示的代码是:ListtargetDocumentIds=pepperWorkflowInstance.getTargetDocumentIds();供引用:publicclassPepperWorkflowInstanceimplementsSerializable{privateListtargetDocumentIds=newArrayList();...publicListgetTa