Fix yamlBuilder() to return YAML builder instead of SMILE

Closes #5185
This commit is contained in:
Kelsey Francis 2014-02-19 17:59:56 -05:00 committed by Adrien Grand
parent 8f8cc7205d
commit 55101edb46
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class XContentFactory {
* Returns a content builder using YAML format ({@link org.elasticsearch.common.xcontent.XContentType#YAML}.
*/
public static XContentBuilder yamlBuilder() throws IOException {
return contentBuilder(XContentType.SMILE);
return contentBuilder(XContentType.YAML);
}
/**