result.merge(checkMatchingFragments());  doCreateChange(new SubProgressMonitor(pm, 2));  fChange= fCURewrite.createChange(true, new SubProgressMonitor(pm, 1)); fChange.setKeepPreviewEdits(true); checkNewSource(result);  return result; } finally { pm.done(); }
RefactoringStatus result= new RefactoringStatus(); if (Arrays.asList(getExcludedVariableNames()).contains(fTempName)) result.addWarning(Messages.format(RefactoringCoreMessages.ExtractTempRefactoring_another_variable, fTempName));  result.merge(checkMatchingFragments());  fChange.setKeepPreviewEdits(true); checkNewSource(result);  return result;
	public RefactoringStatus checkFinalConditions(IProgressMonitor pm) throws CoreException {		try {			pm.beginTask(RefactoringCoreMessages.ExtractTempRefactoring_checking_preconditions, 3);						fCURewrite= new CompilationUnitRewrite(fCu, fCompilationUnitNode);			fCURewrite.getASTRewrite().setTargetSourceRangeComputer(new NoCommentSourceRangeComputer());						RefactoringStatus result= new RefactoringStatus();			if (Arrays.asList(getExcludedVariableNames()).contains(fTempName))				result.addWarning(Messages.format(RefactoringCoreMessages.ExtractTempRefactoring_another_variable, fTempName)); 			result.merge(checkMatchingFragments());						doCreateChange(new SubProgressMonitor(pm, 2));						fChange= fCURewrite.createChange(true, new SubProgressMonitor(pm, 1));			fChange.setKeepPreviewEdits(true);			checkNewSource(result);						return result;		} finally {			pm.done();		}	}