for (int i= 0; i < fNewWorkingCopies.length; i++) { fNewWorkingCopies[i].destroy(); }
if (fNewWorkingCopies != null){ for (int i= 0; i < fNewWorkingCopies.length; i++) { fNewWorkingCopies[i].destroy(); } }
	private RefactoringStatus analyzeRenameChanges(IProgressMonitor pm) throws JavaModelException{		try {			pm.beginTask("", 3); //$NON-NLS-1$						TextChangeManager manager= createChangeManager(new SubProgressMonitor(pm, 1));			SearchResultGroup[] oldOccurrences= getOldOccurrences(new SubProgressMonitor(pm, 1));			SearchResultGroup[] newOccurrences= getNewOccurrences(new SubProgressMonitor(pm, 1), manager);			RefactoringStatus result= RenameAnalyzeUtil.analyzeRenameChanges(manager, oldOccurrences, newOccurrences);			return result;		} catch(CoreException e) {			throw new JavaModelException(e);		} finally{			pm.done();			for (int i= 0; i < fNewWorkingCopies.length; i++) {				fNewWorkingCopies[i].destroy();					}		}	}