Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ExecutionContextUserSupport refers to ItemStream in code and documentation [BATCH-1722] #1862
The current implementation of org.springframework.batch.item.util.ExecutionContextUserSupport.getKey(String) looks like this:
The message for suggest this has something to do with ItemStream, which it has not. Theis javadoc for getName and setName also referenced the ItemStream interface.
Referenced from: commits 70eb73f
Robert Kasanicky commented
In practical terms the ExecutionContextUserSupport was created as a convenience superclass for ItemStream implementations so that's where the ItemStream terminology comes from. But strictly speaking you're right there is no dependency between the two so the javadocs and exception message deserved a cleanup.