<CONTEXT>private int containerID;public ResourceVisitor(WorkspaceModelIndexer workspaceModelIndex, int containerID) {</BUG>this.workspaceModelIndex = workspaceModelIndex;ignoredResources = new ArrayList<IResource>();<extra_id_0>this.workspaceModelIndex = workspaceModelIndex;ignoredResources = new ArrayList<IResource>();<BUG>this.containerID = containerID;}</BUG>public void addIgnoredResource(IResource ignoredResource) {ignoredResources.add(ignoredResource);}</CONTEXT>
public ResourceVisitor(WorkspaceModelIndexer workspaceModelIndex, int containerID, List<URI> resourceURIsFromDB) {this.resourceURIsFromDB=resourceURIsFromDB;