remove unused code

This commit is contained in:
Shay Banon 2012-12-18 10:22:37 -08:00
parent f01ce61f71
commit e41def7a59

View File

@ -48,8 +48,6 @@ public interface FieldMapper<T> {
private final String sourcePath;
private final Term indexNameTermFactory;
public Names(String name) {
this(name, name, name, name);
}
@ -64,7 +62,6 @@ public interface FieldMapper<T> {
this.indexNameClean = indexNameClean.intern();
this.fullName = fullName.intern();
this.sourcePath = sourcePath == null ? this.fullName : sourcePath.intern();
this.indexNameTermFactory = new Term(indexName, "");
}
/**
@ -103,13 +100,6 @@ public interface FieldMapper<T> {
return sourcePath;
}
/**
* The index name term that can be used as a factory.
*/
public Term indexNameTerm() {
return this.indexNameTermFactory;
}
/**
* Creates a new index term based on the provided value.
*/