Fix outdated example in javadoc
The code changed and the example in the javadoc didn't.
Closes
@@ -33,7 +33,7 @@ import java.util.Map;
*
* <pre>
* XContentType xContentType = XContentType.JSON;
- * XContentParser parser = xContentType.xContent().createParser("{\"key\" : \"value\"}");
+ * XContentParser parser = xContentType.xContent().createParser(NamedXContentRegistry.EMPTY, "{\"key\" : \"value\"}");
* </pre>
*/
public interface XContentParser extends Releasable {
