From bea966ce4a303df38b2ff7e6426784b1ffaa0c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Leduque?= Date: Tue, 14 Feb 2012 17:13:04 +0100 Subject: [PATCH] Fix incorrect error message in assertion --- .../batch/core/explore/support/MapJobExplorerFactoryBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/MapJobExplorerFactoryBean.java b/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/MapJobExplorerFactoryBean.java index 19297d842..a8f63dbb1 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/MapJobExplorerFactoryBean.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/MapJobExplorerFactoryBean.java @@ -66,7 +66,7 @@ public class MapJobExplorerFactoryBean extends AbstractJobExplorerFactoryBean im * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() */ public void afterPropertiesSet() throws Exception { - Assert.state(repositoryFactory != null, "A MapJobExplorerFactoryBean must be provided"); + Assert.state(repositoryFactory != null, "A MapJobRepositoryFactoryBean must be provided"); repositoryFactory.afterPropertiesSet(); }