Fix build errors after last merge.

This commit is contained in:
Isabel Drost-Fromm 2016-03-29 11:26:41 +02:00
parent 407e2cdcf9
commit 5a913fcc69
3 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ public class FieldSortBuilderTests extends AbstractSortTestCase<FieldSortBuilder
context.reset(parser);
try {
FieldSortBuilder.PROTOTYPE.fromXContent(context, "");
FieldSortBuilder.fromXContent(context, "");
fail("adding reverse sorting option should fail with an exception");
} catch (ParsingException e) {
// all good

View File

@ -218,7 +218,7 @@ public class GeoDistanceSortBuilderTests extends AbstractSortTestCase<GeoDistanc
context.reset(itemParser);
try {
GeoDistanceSortBuilder.PROTOTYPE.fromXContent(context, "");
GeoDistanceSortBuilder.fromXContent(context, "");
fail("adding reverse sorting option should fail with an exception");
} catch (ParsingException e) {
assertEquals("Sort option [reverse] no longer supported.", e.getMessage());

View File

@ -95,7 +95,7 @@ public class ScoreSortBuilderTests extends AbstractSortTestCase<ScoreSortBuilder
context.reset(parser);
try {
ScoreSortBuilder.PROTOTYPE.fromXContent(context, "_score");
ScoreSortBuilder.fromXContent(context, "_score");
fail("adding reverse sorting option should fail with an exception");
} catch (ParsingException e) {
// all good