RESOLVED - issue BATCH-367: When the samples run, all the execution attributes are of type STRING - this must be wrong.

http://jira.springframework.org/browse/BATCH-367

fixed StreamManager not to alter ExecutionContext values + added testcase
This commit is contained in:
robokaso
2008-02-18 10:39:33 +00:00
parent a50a0c0873
commit 97317b3bbe
2 changed files with 27 additions and 1 deletions

View File

@@ -102,7 +102,7 @@ public class SimpleStreamManager implements StreamManager {
for (Iterator iterator = context.entrySet().iterator(); iterator.hasNext();) {
Entry entry = (Entry) iterator.next();
String contextKey = prefix + entry.getKey();
result.putString(contextKey, entry.getValue().toString());
result.put(contextKey, entry.getValue());
}
}
});