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 aa01ae96fb1..776e85f2f3c 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 abstract class StreamInput extends InputStream { } } - private Object readPrimitiveIntArray() throws IOException { + public int[] readPrimitiveIntArray() throws IOException { int length = readVInt(); int[] values = new int[length]; for(int i=0; i