delegate to the proper source method
This commit is contained in:
parent
cb0d89700c
commit
f851279db1
|
@ -67,7 +67,7 @@ public class RestXContentBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void restDocumentSource(byte[] source, XContentBuilder builder, ToXContent.Params params) throws IOException {
|
public static void restDocumentSource(byte[] source, XContentBuilder builder, ToXContent.Params params) throws IOException {
|
||||||
|
restDocumentSource(source, 0, source.length, builder, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void restDocumentSource(byte[] source, int offset, int length, XContentBuilder builder, ToXContent.Params params) throws IOException {
|
public static void restDocumentSource(byte[] source, int offset, int length, XContentBuilder builder, ToXContent.Params params) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue