From 347a883deedd6f27508a0fbec49091125ffed08b Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Wed, 4 Jun 2014 11:28:16 +0200 Subject: [PATCH] DATACMNS-514 - Fixed typo in RepositoryPopulator examples. The property "location" should actually be "locations" since this attribute is read by org.springframework.data.repository.config.ResourceReaderRepositoryPopulatorBeanDefinitionParser.doParse(Element, BeanDefinitionBuilder). --- src/docbkx/repositories.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docbkx/repositories.xml b/src/docbkx/repositories.xml index 9489f5a80..c15e61c09 100644 --- a/src/docbkx/repositories.xml +++ b/src/docbkx/repositories.xml @@ -1259,7 +1259,7 @@ class PersonController { http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd"> - <repository:jackson-populator location="classpath:data.json" /> + <repository:jackson-populator locations="classpath:data.json" /> </beans> @@ -1296,7 +1296,7 @@ processing.-->The type to which the JSON object will be unmarshalled to will http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm.xsd"> - <repository:unmarshaller-populator location="classpath:data.json" unmarshaller-ref="unmarshaller" /> + <repository:unmarshaller-populator locations="classpath:data.json" unmarshaller-ref="unmarshaller" /> <oxm:jaxb2-marshaller contextPath="com.acme" />