Fix incorrect error message in assertion

This commit is contained in:
Mickaël Leduque
2012-02-14 17:13:04 +01:00
committed by Dave Syer
parent a07a8dae14
commit bea966ce4a

View File

@@ -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();
}