mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
remove unused code
This commit is contained in:
parent
f01ce61f71
commit
e41def7a59
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user