Skip to content

Commit 9380a0b

Browse files
committed
Fix missed reference to XContentString
1 parent dbbdbb1 commit 9380a0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
import org.elasticsearch.core.RestApiVersion;
1515
import org.elasticsearch.xcontent.DeprecationHandler;
1616
import org.elasticsearch.xcontent.NamedXContentRegistry;
17+
import org.elasticsearch.xcontent.Text;
1718
import org.elasticsearch.xcontent.XContentLocation;
1819
import org.elasticsearch.xcontent.XContentParser;
19-
import org.elasticsearch.xcontent.XContentString;
2020
import org.elasticsearch.xcontent.XContentType;
2121

2222
import java.io.IOException;
@@ -145,12 +145,12 @@ public String textOrNull() throws IOException {
145145
}
146146

147147
@Override
148-
public XContentString optimizedText() throws IOException {
148+
public Text optimizedText() throws IOException {
149149
return delegate.optimizedText();
150150
}
151151

152152
@Override
153-
public XContentString optimizedTextOrNull() throws IOException {
153+
public Text optimizedTextOrNull() throws IOException {
154154
return delegate.optimizedTextOrNull();
155155
}
156156

0 commit comments

Comments
 (0)