drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java
public void put(String key, String value) {
        ContextKey ckey = new ContextKey(key);
        if ((value == null) || (value.length() == 0))
            properties.remove(ckey);
        else
            properties.put(ckey, value);
    }
public void put(String key, String value) {
        ContextKey ckey = new ContextKey(key);
        if ((value == null) || (value.length() == 0))
            properties.remove(ckey);
        else
            properties.put(ckey, value);
    }
public void put ( String key , String value ) { ContextKey ckey = new ContextKey ( key ) ; if ( ( value == null ) || ( value . length ( ) == 0 ) ) properties . remove ( ckey ) ; else properties . put ( ckey , value ) ; }
Put the given key-value pair into the context.

@param key the key
@param value its associated value
Put the given key - value pair into the context .