DATAES-350 - Adapt to SimpleTypeHolder changes in Spring Data Commons.

Replace constructor usage with singleton instance.

Related Ticket: DATAES-350.
This commit is contained in:
Mark Paluch
2017-04-24 10:33:45 +02:00
parent 05a0186d1e
commit 312df33c31
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ public class SimpleElasticsearchPersistentEntityTests {
String field) {
Property property = Property.of(ReflectionUtils.findField(entity.getTypeInformation().getType(), field));
return new SimpleElasticsearchPersistentProperty(property, entity, new SimpleTypeHolder());
return new SimpleElasticsearchPersistentProperty(property, entity, SimpleTypeHolder.DEFAULT);
}