case SEQUENCE_DATA:
<BUG>final Object[] allRoiResults;
</BUG>
synchronized (roiResultsMap)
{
<BUG>allRoiResults = roiResultsMap.values().toArray();
}
for (Object roiResults : allRoiResults)

((ROIResults) roiResults).sequenceChanged(event);
refreshTableData();</BUG>
break;

case SEQUENCE_DATA:
final ROIResults[] allRoiResults;
synchronized (roiResultsMap)
{
allRoiResults = roiResultsMap.values().toArray(new ROIResults[roiResultsMap.size()]);
}
for (ROIResults roiResults : allRoiResults)
roiResults.sequenceChanged(event);
refreshTableData();
break;
