if (!isAdded(resource)) {
if (isAdded(resource)) {
	private IResource[] getUnaddedResources() {		IResource[] resources = syncSet.getResources();		List result = new ArrayList();		for (int i = 0; i < resources.length; i++) {			IResource resource = resources[i];			if (!isAdded(resource)) {				result.add(resource);			}		}		return (IResource[]) result.toArray(new IResource[result.size()]);	}