Skip to content

Commit 83a3f0e

Browse files
committed
fix compile error
ExtendedBounds cannot yet have its ParseFieldMatcher usage removed, reverted that bit.
1 parent 7674de9 commit 83a3f0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/ExtendedBounds.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
package org.elasticsearch.search.aggregations.bucket.histogram;
2121

2222
import org.elasticsearch.common.ParseField;
23+
import org.elasticsearch.common.ParseFieldMatcherSupplier;
2324
import org.elasticsearch.common.io.stream.StreamInput;
2425
import org.elasticsearch.common.io.stream.StreamOutput;
2526
import org.elasticsearch.common.io.stream.Writeable;
@@ -44,7 +45,7 @@ public class ExtendedBounds implements ToXContent, Writeable {
4445
static final ParseField MIN_FIELD = new ParseField("min");
4546
static final ParseField MAX_FIELD = new ParseField("max");
4647

47-
public static final ConstructingObjectParser<ExtendedBounds, Void> PARSER = new ConstructingObjectParser<>(
48+
public static final ConstructingObjectParser<ExtendedBounds, ParseFieldMatcherSupplier> PARSER = new ConstructingObjectParser<>(
4849
"extended_bounds", a -> {
4950
assert a.length == 2;
5051
Long min = null;

0 commit comments

Comments
 (0)