delegate to the proper source method

This commit is contained in:
kimchy 2011-06-27 21:38:43 +03:00
parent cb0d89700c
commit f851279db1
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class RestXContentBuilder {
}
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 {