diff --git a/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java b/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java index aa01ae96fb126..7c2b9381a6099 100644 --- a/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java +++ b/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java @@ -446,7 +446,7 @@ public Object readGenericValue() throws IOException { } } - private Object readPrimitiveIntArray() throws IOException { + public Object readPrimitiveIntArray() throws IOException { int length = readVInt(); int[] values = new int[length]; for(int i=0; i