[TEST] Rename variable to make it less confusing

This commit is contained in:
Simon Willnauer 2017-07-21 13:02:33 +02:00
parent fd57101952
commit 682abb90ee
1 changed files with 2 additions and 2 deletions

View File

@ -281,8 +281,8 @@ public class SearchServiceTests extends ESSingleNodeTestCase {
}
@Override
protected QueryBuilder doRewrite(QueryRewriteContext queryShardContext) {
if (queryShardContext.convertToShardContext() != null) {
protected QueryBuilder doRewrite(QueryRewriteContext queryRewriteContext) {
if (queryRewriteContext.convertToShardContext() != null) {
throw new IllegalStateException("Fail on rewrite phase");
}
return this;