@Override
    public String put(final String key, String value) {
        if (value != null) {
            value = value.trim();
        }
        final CIString newKey = new CIString(key);
        final String oldValue = realMap.remove(newKey);
        realMap.put(newKey, value);
        return oldValue;
    }
String hash map that does not care about key case.
stroom-util/src/main/java/stroom/util/CIStringHashMap.java