corrected build failure

This commit is contained in:
Mohsin Husen 2013-03-20 13:05:52 +00:00
parent 2fe012e87f
commit 336abe72ce

View File

@ -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;