private void resetBoundProperties()

in src/main/java/org/apache/sling/scripting/javascript/internal/RhinoJavaScriptEngine.java [212:218]


    private void resetBoundProperties(Scriptable scope, Map<String, Object> properties) {
        if (scope != null && properties != null && properties.size() > 0) {
            for (Entry<String, Object> entry : properties.entrySet()) {
                ScriptableObject.putProperty(scope, entry.getKey(), entry.getValue());
            }
        }
    }