<BUG>for (int w = 0; w < workingSets.length; w++) {WorkingSetDelta workingSetDelta = new WorkingSetDelta(workingSets[w]);</BUG><CONTEXT>IWorkingSet[] workingSets;synchronized (fWorkingSets) {workingSets = (IWorkingSet[]) fWorkingSets.toArray(new IWorkingSet[fWorkingSets.size()]);}<extra_id_0>processResourceDelta(workingSetDelta, delta);</CONTEXT>
for (IWorkingSet workingSet : workingSets) {WorkingSetDelta workingSetDelta = new WorkingSetDelta(workingSet);