private Map convertMap()

in src/main/java/org/apache/sling/scripting/sightly/js/impl/rhino/JsValueAdapter.java [143:149]


    private Map<Object, Object> convertMap(Map<Object, Object> original) {
        Map<Object, Object> map = new HashMap<Object, Object>();
        for (Map.Entry<Object, Object> entry : original.entrySet()) {
            map.put(entry.getKey(), adapt(entry.getValue()));
        }
        return map;
    }