mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-15 09:25:40 +00:00
parent
1496b03458
commit
21e2dfb6b1
@ -30,7 +30,7 @@ import org.elasticsearch.common.xcontent.json.JsonXContentParser;
|
||||
import java.io.*;
|
||||
|
||||
/**
|
||||
* A JSON based content implementation using Jackson.
|
||||
* A Smile based content implementation using Jackson.
|
||||
*/
|
||||
public class SmileXContent implements XContent {
|
||||
|
||||
@ -100,6 +100,6 @@ public class SmileXContent implements XContent {
|
||||
|
||||
@Override
|
||||
public XContentParser createParser(Reader reader) throws IOException {
|
||||
return new JsonXContentParser(smileFactory.createParser(reader));
|
||||
return new SmileXContentParser(smileFactory.createParser(reader));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user