class ObjectUtil {

    public Map<String, String> getThreadContextMap(ThreadLocal<Map<String, String>> threadConfigurationContext) {
        Map<String, String>  aMap = threadConfigurationContext.get();
        if (aMap == null) {
            aMap = new HashMap<>();
            threadConfigurationContext.set(aMap);
        }
        return aMap;
    }

}