Skip to content

Commit 3526556

Browse files
committed
Add missing override for new xContentText()
1 parent 082ffeb commit 3526556

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/yaml-rest-runner/src/main/java/org/elasticsearch/test/rest/yaml/ParameterizableYamlXContentParser.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.elasticsearch.xcontent.NamedXContentRegistry;
1717
import org.elasticsearch.xcontent.XContentLocation;
1818
import org.elasticsearch.xcontent.XContentParser;
19+
import org.elasticsearch.xcontent.XContentString;
1920
import org.elasticsearch.xcontent.XContentType;
2021

2122
import java.io.IOException;
@@ -143,6 +144,16 @@ public String textOrNull() throws IOException {
143144
return delegate.textOrNull();
144145
}
145146

147+
@Override
148+
public XContentString xContentText() throws IOException {
149+
return delegate.xContentText();
150+
}
151+
152+
@Override
153+
public XContentString xContentTextOrNull() throws IOException {
154+
return delegate.xContentTextOrNull();
155+
}
156+
146157
@Override
147158
public CharBuffer charBufferOrNull() throws IOException {
148159
return delegate.charBufferOrNull();

0 commit comments

Comments
 (0)