if (sortedIndices[i] != last) { item = getVisibleItem(sortedIndices[i]);
sortedIndex = sortedIndices[i]; if (sortedIndex != last) { item = getVisibleItem(sortedIndex);
public void remove(int indices[]) {	checkWidget();	SelectableItem item;	int [] sortedIndices;	int last = -1;		if (indices == null) {		error(SWT.ERROR_NULL_ARGUMENT);	}	sortedIndices = new int[indices.length];		System.arraycopy (indices, 0, sortedIndices, 0, indices.length);	sort(sortedIndices);								// sort indices in descending order	for (int i = 0; i < sortedIndices.length; i++) {		if (sortedIndices[i] != last) {			item = getVisibleItem(sortedIndices[i]);			if (item != null) {				item.dispose();			}			else {				error(SWT.ERROR_ITEM_NOT_REMOVED);			}			last = sortedIndices[i];					}	}}