private static void addReplaceEdits(TextChange textChange, NLSSubstitution[] substitutions, Map keyToSubstMap, PropertyFileDocumentModel model) {
private static void addReplaceEdits(TextChange textChange, NLSSubstitution[] substitutions, Map newKeyToSubstMap, Map oldKeyToSubstMap, PropertyFileDocumentModel model) {
	private static void addReplaceEdits(TextChange textChange, NLSSubstitution[] substitutions, Map keyToSubstMap, PropertyFileDocumentModel model) {		for (int i= 0; i < substitutions.length; i++) {			NLSSubstitution substitution= substitutions[i];			if (!substitution.hasStateChanged() && (substitution.getState() == NLSSubstitution.EXTERNALIZED)) {				if (substitution.isKeyRename() || substitution.isValueRename()) {					if (keyToSubstMap.get(substitution.getKey()) == substitution) { // only rename if we're not a duplicate. duplicates will be removed						KeyValuePair initialPair= new KeyValuePair(substitution.getInitialKey(), substitution.getInitialValue());						KeyValuePair newPair= new KeyValuePair(substitution.getKey(), substitution.getValueNonEmpty());						TextEdit edit= model.replace(initialPair, newPair);						if (edit != null) {							TextChangeCompatibility.addTextEdit(textChange, NLSMessages.getFormattedString("NLSPropertyFileModifier.replace_entry", substitution.getKey()), edit); //$NON-NLS-1$						}					}				}			}		}	}