RefactoringStatus status= Checks.validateModifiesFiles(getAllModifiedFiles());;
RefactoringStatus status= Checks.validateModifiesFiles(getAllModifiedFiles());
		private IChange createReferenceUpdatingMoveChange(IProgressMonitor pm) throws JavaModelException {			pm.beginTask("", 2 + (fUpdateQualifiedNames ? 1 : 0)); //$NON-NLS-1$			try{				CompositeChange composite= new CompositeChange();				//XX workaround for bug 13558				//<workaround>				if (fChangeManager == null){					fChangeManager= createChangeManager(new SubProgressMonitor(pm, 1));					RefactoringStatus status= Checks.validateModifiesFiles(getAllModifiedFiles());;					if (status.hasFatalError())						fChangeManager= new TextChangeManager();				}					//</workaround>											addAllChildren(composite, new CompositeChange(RefactoringCoreMessages.getString("MoveRefactoring.reorganize_elements"), fChangeManager.getAllChanges())); //$NON-NLS-1$										if (fUpdateQualifiedNames) {					computeQualifiedNameMatches(new SubProgressMonitor(pm, 1));					composite.addAll(fQualifiedNameSearchResult.getAllChanges());				}											IChange fileMove= createSimpleMoveChange(new SubProgressMonitor(pm, 1));				if (fileMove instanceof ICompositeChange) {					addAllChildren(composite, (ICompositeChange)fileMove);						} else{					composite.add(fileMove);				}				return composite;			} finally{				pm.done();			}		}