SortedSet descriptors= (SortedSet) fDescriptorsByPartition.get(partition); if (descriptors != null) {  for (Iterator it2= descriptors.iterator(); it2.hasNext();) { CompletionProposalComputerDescriptor desc= (CompletionProposalComputerDescriptor) it2.next(); if (desc.equals(descriptor)) { it2.remove(); break; } } }
List descriptors= (List) fDescriptorsByPartition.get(partition); if (descriptors != null) descriptors.remove(descriptor);
	void remove(CompletionProposalComputerDescriptor descriptor, IStatus status) {		Set partitions= descriptor.getPartitions();		for (Iterator it= partitions.iterator(); it.hasNext();) {			String partition= (String) it.next();			SortedSet descriptors= (SortedSet) fDescriptorsByPartition.get(partition);			if (descriptors != null) {				// use identity since TreeSet does not check equality				for (Iterator it2= descriptors.iterator(); it2.hasNext();) {					CompletionProposalComputerDescriptor desc= (CompletionProposalComputerDescriptor) it2.next();					if (desc.equals(descriptor)) {						it2.remove();						break;					}				}			}		}		informUser(status);	}