I run IntelliJ Code Analyzer (IntelliJ 11.1.4) in the class and get this warning:
Unverified job: 'java.util.List' in 'java.util.List'
The code he complains about is:
List<String> targetDocumentIds = pepperWorkflowInstance.getTargetDocumentIds();
For reference:
public class PepperWorkflowInstance<T extends PepperWorkflowInstanceData> implements Serializable { private List<String> targetDocumentIds = new ArrayList<String>(); ... public List<String> getTargetDocumentIds() { return targetDocumentIds; } ... }
So the types are the same ... so why should I "check" the assignment?
source share