Skip to content

Commit c89d103

Browse files
committed
Remove unused field
1 parent fbc4bb7 commit c89d103

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

server/src/test/java/org/elasticsearch/action/search/ExpandSearchPhaseTests.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
import org.apache.lucene.search.TotalHits;
1313
import org.elasticsearch.action.ActionListener;
1414
import org.elasticsearch.common.Strings;
15-
import org.elasticsearch.common.breaker.CircuitBreaker;
16-
import org.elasticsearch.common.breaker.NoopCircuitBreaker;
1715
import org.elasticsearch.common.bytes.BytesArray;
1816
import org.elasticsearch.common.document.DocumentField;
1917
import org.elasticsearch.common.util.concurrent.AtomicArray;
@@ -239,7 +237,6 @@ void sendExecuteMultiSearch(MultiSearchRequest request, SearchTask task, ActionL
239237
}
240238
};
241239

242-
CircuitBreaker breaker = new NoopCircuitBreaker(CircuitBreaker.REQUEST);
243240
SearchHit hit1 = new SearchHit(1, "ID");
244241
hit1.setDocumentField("someField", new DocumentField("someField", Collections.singletonList(null)));
245242
SearchHit hit2 = new SearchHit(2, "ID2");

0 commit comments

Comments
 (0)