From 3baf79a7e1d2e6f29ef114def75794182d107c2f 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 7253b4152..b6f48bc83 100644 --- a/src/docbkx/repositories.xml +++ b/src/docbkx/repositories.xml @@ -1234,7 +1234,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> @@ -1271,7 +1271,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" />