Tests: Fix bad parsing of empty filters.

This commit is contained in:
Adrien Grand 2015-05-07 21:06:23 +02:00
parent e29492ce94
commit 1cb6af7585
1 changed files with 0 additions and 1 deletions

View File

@ -233,7 +233,6 @@ public class QueryParseContext {
token = parser.nextToken();
if (token == XContentParser.Token.END_OBJECT) {
// empty query
parser.nextToken();
return null;
}
if (token != XContentParser.Token.FIELD_NAME) {