HashMap keyToSubstMap= getKeyToSubstitutionMap(substitutions);  addInsertEdits(textChange, substitutions, keyToSubstMap, model); addRemoveEdits(textChange, substitutions, keyToSubstMap, model); addReplaceEdits(textChange, substitutions, keyToSubstMap, model);
Map newKeyToSubstMap= getNewKeyToSubstitutionMap(substitutions); Map oldKeyToSubstMap= getOldKeyToSubstitutionMap(substitutions);  addInsertEdits(textChange, substitutions, newKeyToSubstMap, oldKeyToSubstMap, model); addRemoveEdits(textChange, substitutions, newKeyToSubstMap, oldKeyToSubstMap, model); addReplaceEdits(textChange, substitutions, newKeyToSubstMap, oldKeyToSubstMap, model);
	private static void addChanges(TextChange textChange, NLSSubstitution[] substitutions) throws CoreException {		PropertyFileDocumentModel model= new PropertyFileDocumentModel(textChange.getCurrentDocument(new NullProgressMonitor()));		HashMap keyToSubstMap= getKeyToSubstitutionMap(substitutions);				addInsertEdits(textChange, substitutions, keyToSubstMap, model);		addRemoveEdits(textChange, substitutions, keyToSubstMap, model);		addReplaceEdits(textChange, substitutions, keyToSubstMap, model);	}