base/common/src/main/com/thesett/common/jndi/SimpleContext.java
public Object addToEnvironment(String propName, Object propVal)
    {
        if (myEnv == null)
        {
            myEnv = new Hashtable(5, 0.75f);
        }

        return myEnv.put(propName, propVal);
    }
public Object addToEnvironment(String propName, Object propVal)
    {
        if (myEnv == null)
        {
            myEnv = new Hashtable(5, 0.75f);
        }

        return myEnv.put(propName, propVal);
    }
Adds a new environment property to the environment of this context. If the property already exists, its value is
overwritten. See class description for more details on environment properties.

@param  propName The name of the property.
@param  propVal  The value of the property.

@return The previous value of the property, or null if the property was not in the environment before.