replaced "input source" with "item reader" in exception message

This commit is contained in:
robokaso
2008-04-28 07:13:40 +00:00
parent 66e91b0dbe
commit daefd2f82e

View File

@@ -146,7 +146,7 @@ public class DrivingQueryItemReader implements ItemReader, InitializingBean, Ite
*/
public void open(ExecutionContext executionContext) {
Assert.state(keys == null && !initialized, "Cannot open an already opened input source"
Assert.state(keys == null && !initialized, "Cannot open an already opened item reader"
+ ", call close() first.");
keys = keyGenerator.retrieveKeys(executionContext);
if (keys == null || keys.size() == 0) {