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:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user