Remove dead code in FTL#simpleMatchToFullName

This commit removes some dead code that resulted from removing the
ability for a field to have different names (after enforcing that fields
have the same full and index name).

Closes #17127
This commit is contained in:
Jason Tedor 2016-03-15 21:54:25 -04:00
parent 618441aea3
commit 0f00c14afc
1 changed files with 0 additions and 2 deletions

View File

@ -154,8 +154,6 @@ class FieldTypeLookup implements Iterable<MappedFieldType> {
for (MappedFieldType fieldType : this) {
if (Regex.simpleMatch(pattern, fieldType.name())) {
fields.add(fieldType.name());
} else if (Regex.simpleMatch(pattern, fieldType.name())) {
fields.add(fieldType.name());
}
}
return fields;