Skip to content

Commit 214ceb9

Browse files
committed
fix test compile errors
1 parent fe6aa70 commit 214ceb9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

server/src/test/java/org/elasticsearch/common/xcontent/json/JsonXContentTests.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
package org.elasticsearch.common.xcontent.json;
1111

12+
import org.elasticsearch.common.bytes.BytesReference;
1213
import org.elasticsearch.common.xcontent.BaseXContentTestCase;
14+
import org.elasticsearch.xcontent.Text;
15+
import org.elasticsearch.xcontent.XContentBuilder;
1316
import org.elasticsearch.xcontent.XContentGenerator;
1417
import org.elasticsearch.xcontent.XContentParseException;
1518
import org.elasticsearch.xcontent.XContentParser;
@@ -18,6 +21,9 @@
1821
import org.elasticsearch.xcontent.json.JsonXContent;
1922

2023
import java.io.ByteArrayOutputStream;
24+
import java.util.Set;
25+
26+
import static org.hamcrest.Matchers.equalTo;
2127

2228
public class JsonXContentTests extends BaseXContentTestCase {
2329

0 commit comments

Comments
 (0)