src/main/java/ognl/Ognl.java
@Deprecated
    public static Map createDefaultContext(Object root, ClassResolver classResolver)
    {
        return addDefaultContext(root, null, classResolver, null, new OgnlContext(classResolver, null, null));
    }
@Deprecated
    public static Map createDefaultContext(Object root, ClassResolver classResolver)
    {
        return addDefaultContext(root, null, classResolver, null, new OgnlContext(classResolver, null, null));
    }
Creates and returns a new standard naming context for evaluating an OGNL expression.

@param root
The root of the object graph.
@param classResolver
The resolver used to instantiate {@link Class} instances referenced in the expression.

@return a new OgnlContext with the keys <CODE>root</CODE> and <CODE>context</CODE> set
appropriately

@deprecated it will be removed soon