RESOLVED - BATCH-900: Retreive null values from the ExecutionContext

This commit is contained in:
robokaso
2008-11-03 19:30:56 +00:00
parent aa90589ea4
commit 277c7f40ae
2 changed files with 8 additions and 2 deletions

View File

@@ -228,8 +228,13 @@ public class ExecutionContext implements Serializable {
* @return The value represented by the given key
*/
public Object get(String key) {
return map.get(key);
Object value = map.get(key);
if (value == Constants.NULL) {
return null;
}
else {
return value;
}
}
/**