if (hasDuplicateKey(substitution)) { showWarningStatus(true);
if (hasDuplicateKey(substitution)) { status.addWarning("Keys are duplicate.");
    private void checkDuplicateKeys() {        for (int i = 0; i < fSubstitutions.length; i++) {            NLSSubstitution substitution = fSubstitutions[i];            if (hasDuplicateKey(substitution)) {                showWarningStatus(true);                return;            }                    }	    showWarningStatus(false);    }