Bug 67168 Change Signature shows error message twice [refactoring]
200406111814 public class TestClass { void change() { } x } Try to 'Change Method Signature' on 'change()'. The error message dialog always shows up twice.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java
}
	
	private IJavaElement[] resolveElements() {
		return SelectionConverter.codeResolveHandled(fEditor, getShell(),  RefactoringMessages.getString("OpenRefactoringWizardAction.refactoring"));  
	}
	private static RefactoringWizard createWizard(ChangeSignatureRefactoring refactoring){
		return new ChangeSignatureWizard(refactoring);
	}
	
	private void startRefactoring(IMethod method) throws JavaModelException {
		ChangeSignatureRefactoring changeSigRefactoring= createRefactoring(method); 
		Assert.isNotNull(changeSigRefactoring);
		
		if (!ActionUtil.isProcessable(getShell(), changeSigRefactoring.getMethod()))
			return;
		UserInterfaceStarter starter= new UserInterfaceStarter() {
			public void activate(Refactoring refactoring, Shell parent, boolean save) throws CoreException {
				ChangeSignatureRefactoring cr= (ChangeSignatureRefactoring) refactoring;
				RefactoringStatus status= cr.checkInitialConditions(new NullProgressMonitor());
				if (status.hasFatalError()) {
					RefactoringStatusEntry entry= status.getEntryMatchingSeverity(RefactoringStatus.FATAL);
					if (entry.getCode() == RefactoringStatusCodes.OVERRIDES_ANOTHER_METHOD
						|| entry.getCode() == RefactoringStatusCodes.METHOD_DECLARED_IN_INTERFACE) {
						
						String message= entry.getMessage();
						Object newElementToProcess= entry.getData();
						message= message + RefactoringMessages.getString("RefactoringErrorDialogUtil.okToPerformQuestion"); 
						if (newElementToProcess != null && MessageDialog.openQuestion(getShell(), 
							RefactoringMessages.getString("OpenRefactoringWizardAction.refactoring"),  
							message)) {