if (substitution.hasChanged()) { return substitution.hasDuplicateKey(fSubstitutions, fPrefixField.getText()); } else { return substitution.hasDuplicateKey(fSubstitutions, ""); }
return substitution.hasDuplicateKey(fSubstitutions);
    private boolean hasDuplicateKey(NLSSubstitution substitution) {	    if (substitution.getState() == NLSSubstitution.EXTERNALIZED) {	        if (substitution.hasChanged()) {	            return substitution.hasDuplicateKey(fSubstitutions, fPrefixField.getText());	            	        } else {	            return substitution.hasDuplicateKey(fSubstitutions, "");	        }	    }	    return false;	}