result.addError(RefactoringCoreMessages.getFormattedString("RenameParametersRefactoring.duplicate_name", newName));
result.addFatalError(RefactoringCoreMessages.getFormattedString("RenameParametersRefactoring.duplicate_name", newName));
	private RefactoringStatus checkForDuplicateNames(){		RefactoringStatus result= new RefactoringStatus();		Set found= new HashSet();		Set doubled= new HashSet();		for (Iterator iterator = fRenamings.keySet().iterator(); iterator.hasNext();) {			String oldName= (String) iterator.next();			String newName= getNewName(oldName);			if (found.contains(newName) && !doubled.contains(newName)){				result.addError(RefactoringCoreMessages.getFormattedString("RenameParametersRefactoring.duplicate_name", newName));//$NON-NLS-1$					doubled.add(newName);			} else {				found.add(newName);			}			}		return result;	}