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).
This commit is contained in:
Thomas Darimont
2014-06-04 11:28:16 +02:00
parent fd4121e03e
commit 347a883dee

View File

@@ -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" />
&lt;/beans&gt;</programlisting>
</example>
@@ -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"&gt;
&lt;repository:unmarshaller-populator location="classpath:data.json" unmarshaller-ref="unmarshaller" /&gt;
&lt;repository:unmarshaller-populator locations="classpath:data.json" unmarshaller-ref="unmarshaller" /&gt;
&lt;oxm:jaxb2-marshaller contextPath="com.acme" /&gt;