Skip to content

Commit 4cffe8f

Browse files
committed
Fix whitespace on docs for read/writeArray methods
1 parent 1d5d246 commit 4cffe8f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,9 @@ public byte[] readByteArray() throws IOException {
694694
* assumed that the stream first contains a variable-length integer representing the size of the array, and then contains that many
695695
* elements that can be read from the stream.
696696
*
697-
* @param reader the reader used to read individual elements
697+
* @param reader the reader used to read individual elements
698698
* @param arraySupplier a supplier used to construct a new array
699-
* @param <T> the type of the elements of the array
699+
* @param <T> the type of the elements of the array
700700
* @return an array read from the stream
701701
* @throws IOException if an I/O exception occurs while reading the array
702702
*/

core/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,8 @@ public void writeDoubleArray(double[] values) throws IOException {
713713
* integer is first written to the stream, and then the elements of the array are written to the stream.
714714
*
715715
* @param writer the writer used to write individual elements
716-
* @param array the array
717-
* @param <T> the type of the elements of the array
716+
* @param array the array
717+
* @param <T> the type of the elements of the array
718718
* @throws IOException if an I/O exception occurs while writing the array
719719
*/
720720
public <T> void writeArray(final Writer<T> writer, final T[] array) throws IOException {

0 commit comments

Comments
 (0)