From f851279db1fabd00defa9136d44041973a4d9554 Mon Sep 17 00:00:00 2001 From: kimchy Date: Mon, 27 Jun 2011 21:38:43 +0300 Subject: [PATCH] delegate to the proper source method --- .../elasticsearch/rest/action/support/RestXContentBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/support/RestXContentBuilder.java b/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/support/RestXContentBuilder.java index 21c2763a988..e945a50b72d 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/support/RestXContentBuilder.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/support/RestXContentBuilder.java @@ -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 {