Skip to content

Commit bea966c

Browse files
mleduqueDave Syer
authored and
Dave Syer
committed
Fix incorrect error message in assertion
1 parent a07a8da commit bea966c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/MapJobExplorerFactoryBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void setRepositoryFactory(MapJobRepositoryFactoryBean repositoryFactory)
6666
* @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
6767
*/
6868
public void afterPropertiesSet() throws Exception {
69-
Assert.state(repositoryFactory != null, "A MapJobExplorerFactoryBean must be provided");
69+
Assert.state(repositoryFactory != null, "A MapJobRepositoryFactoryBean must be provided");
7070
repositoryFactory.afterPropertiesSet();
7171
}
7272

0 commit comments

Comments
 (0)