Browse Source

Fix whitespace on docs for read/writeArray methods

Jason Tedor 8 years ago
parent
commit
4cffe8f3bd

+ 2 - 2
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 <T> the type of the elements of the array
+     * @param <T>           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
      */

+ 2 - 2
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 <T> the type of the elements of the array
+     * @param array  the array
+     * @param <T>    the type of the elements of the array
      * @throws IOException if an I/O exception occurs while writing the array
      */
     public <T> void writeArray(final Writer<T> writer, final T[] array) throws IOException {