diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java b/core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java index 274fdc59269..a5f01f74ed7 100644 --- a/core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java +++ b/core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java @@ -694,9 +694,9 @@ public abstract class StreamInput extends InputStream { * assumed that the stream first contains a variable-length integer representing the size of the array, and then contains that many * elements that can be read from the stream. * - * @param reader the reader used to read individual elements + * @param reader the reader used to read individual elements * @param arraySupplier a supplier used to construct a new array - * @param the type of the elements of the array + * @param the type of the elements of the array * @return an array read from the stream * @throws IOException if an I/O exception occurs while reading the array */ diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java b/core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java index 0242d71bbdf..98a126e75e5 100644 --- a/core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java +++ b/core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java @@ -713,8 +713,8 @@ public abstract class StreamOutput extends OutputStream { * integer is first written to the stream, and then the elements of the array are written to the stream. * * @param writer the writer used to write individual elements - * @param array the array - * @param the type of the elements of the array + * @param array the array + * @param the type of the elements of the array * @throws IOException if an I/O exception occurs while writing the array */ public void writeArray(final Writer writer, final T[] array) throws IOException {