String key = sub.getKeyWithPrefix(fSubstitutionPrefix);
String key = sub.getKey();
    private RefactoringStatus checkForDuplicateKeys() {        Map map = new HashMap(); //String (key) -> Set of NLSSubstitution        NLSSubstitution[] subs = fNlsHolder.getSubstitutions();        for (int i = 0; i < subs.length; i++) {            NLSSubstitution sub = subs[i];            String key = sub.getKeyWithPrefix(fSubstitutionPrefix);            if (!map.containsKey(key)) {                map.put(key, new HashSet());            }            ((Set) map.get(key)).add(sub);        }        RefactoringStatus result = new RefactoringStatus();        for (Iterator iter = map.keySet().iterator(); iter.hasNext();) {            Set substitutions = (Set) map.get(iter.next());            result.merge(checkForDuplicateKeys(substitutions));        }        return result;    }