mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-22 20:12:11 +00:00
corrected build failure
This commit is contained in:
parent
2fe012e87f
commit
336abe72ce
@ -34,7 +34,6 @@ import java.util.Set;
|
||||
public class SimpleElasticsearchPersistentProperty extends AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty> implements
|
||||
ElasticsearchPersistentProperty {
|
||||
|
||||
private static final Class FIELD_ANNOTATION = org.springframework.data.elasticsearch.annotations.Field.class;
|
||||
private static final Set<Class<?>> SUPPORTED_ID_TYPES = new HashSet<Class<?>>();
|
||||
private static final Set<String> SUPPORTED_ID_PROPERTY_NAMES = new HashSet<String>();
|
||||
|
||||
@ -59,18 +58,6 @@ public class SimpleElasticsearchPersistentProperty extends AnnotationBasedPersis
|
||||
return super.isIdProperty() || SUPPORTED_ID_PROPERTY_NAMES.contains(getFieldName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMappingType() {
|
||||
return isAnnotationPresent(FIELD_ANNOTATION)?
|
||||
((org.springframework.data.elasticsearch.annotations.Field) findAnnotation(FIELD_ANNOTATION)).type(): null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAnalyzer() {
|
||||
return isAnnotationPresent(FIELD_ANNOTATION)?
|
||||
((org.springframework.data.elasticsearch.annotations.Field) findAnnotation(FIELD_ANNOTATION)).analyzer(): null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Association<ElasticsearchPersistentProperty> createAssociation() {
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user