In the OsidContext.assignContext(key,context) javadoc:
[... ]
context - [...]. Setting a null context removes the
context.
[..]
in the code (v2.0 in files) :
public final void assignContext(String key,
java.io.Serializable context) throws
org.osid.OsidException {
// Put data
if ((null != key) && (null != context)) {
contextInfo.put(key, context);
} else if ((null != key) && (null == context)) {
// if context null
if (contextInfo.get(key).equals(context)) {
// and context equals ??
contextInfo.remove(key);
}
} else {
throw new
org.osid.OsidException(org.osid.OsidException.NULL_ARGUMENT);
}
}