Fix incorrect return impl in SmileXContent.createParser.

Close #5510
This commit is contained in:
Kevin Wang 2014-03-24 22:05:24 +11:00 committed by Adrien Grand
parent 1496b03458
commit 21e2dfb6b1
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}
}