RESOLVED - BATCH-728: Add remove(key) method to ExecutionContext class

This commit is contained in:
robokaso
2008-07-17 09:29:01 +00:00
parent e646cd8a16
commit 3de4794205
2 changed files with 65 additions and 46 deletions

View File

@@ -280,6 +280,15 @@ public class ExecutionContext implements Serializable {
return map.containsKey(key);
}
/**
* Removes the mapping for a key from this context if it is present.
*
* @see java.util.Map#remove(Object)
*/
public Object remove(String key) {
return map.remove(key);
}
/**
* Indicates whether or not a value is represented in this context.
*