Skip to content

Commit 11c0562

Browse files
committed
Javadoc
1 parent 5e08e76 commit 11c0562

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/main/java/org/apache/commons/io/IOUtils.java

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,11 @@ private static char[] charArray(final int size) {
558558
* }
559559
* </code></pre>
560560
*
561-
* @param array the array against which the range is validated
562-
* @param off the starting offset into the array (inclusive)
563-
* @param len the number of elements to access
564-
* @throws NullPointerException if {@code array} is {@code null}
565-
* @throws IndexOutOfBoundsException if the range {@code [off, off + len)} is out of bounds for {@code array}
561+
* @param array the array against which the range is validated.
562+
* @param off the starting offset into the array (inclusive).
563+
* @param len the number of elements to access.
564+
* @throws NullPointerException if {@code array} is {@code null}.
565+
* @throws IndexOutOfBoundsException if the range {@code [off, off + len)} is out of bounds for {@code array}.
566566
* @see InputStream#read(byte[], int, int)
567567
* @see OutputStream#write(byte[], int, int)
568568
* @since 2.21.0
@@ -605,11 +605,11 @@ public static void checkFromIndexSize(final byte[] array, final int off, final i
605605
* }
606606
* </code></pre>
607607
*
608-
* @param array the array against which the range is validated
609-
* @param off the starting offset into the array (inclusive)
610-
* @param len the number of characters to access
611-
* @throws NullPointerException if {@code array} is {@code null}
612-
* @throws IndexOutOfBoundsException if the range {@code [off, off + len)} is out of bounds for {@code array}
608+
* @param array the array against which the range is validated.
609+
* @param off the starting offset into the array (inclusive).
610+
* @param len the number of characters to access.
611+
* @throws NullPointerException if {@code array} is {@code null}.
612+
* @throws IndexOutOfBoundsException if the range {@code [off, off + len)} is out of bounds for {@code array}.
613613
* @see Reader#read(char[], int, int)
614614
* @see Writer#write(char[], int, int)
615615
* @since 2.21.0
@@ -648,11 +648,11 @@ static void checkFromIndexSize(final int off, final int len, final int arrayLeng
648648
* }
649649
* </code></pre>
650650
*
651-
* @param str the string against which the range is validated
652-
* @param off the starting offset into the string (inclusive)
653-
* @param len the number of characters to write
654-
* @throws NullPointerException if {@code str} is {@code null}
655-
* @throws IndexOutOfBoundsException if the range {@code [off, off + len)} is out of bounds for {@code str}
651+
* @param str the string against which the range is validated.
652+
* @param off the starting offset into the string (inclusive).
653+
* @param len the number of characters to write.
654+
* @throws NullPointerException if {@code str} is {@code null}.
655+
* @throws IndexOutOfBoundsException if the range {@code [off, off + len)} is out of bounds for {@code str}.
656656
* @see Writer#write(String, int, int)
657657
* @since 2.21.0
658658
*/
@@ -684,10 +684,10 @@ public static void checkFromIndexSize(final String str, final int off, final int
684684
* }
685685
* </code></pre>
686686
*
687-
* @param seq the character sequence to validate (may be {@code null}, treated as {@code "null"})
688-
* @param fromIndex the starting index (inclusive)
689-
* @param toIndex the ending index (exclusive)
690-
* @throws IndexOutOfBoundsException if the range {@code [fromIndex, toIndex)} is out of bounds for {@code seq}
687+
* @param seq the character sequence to validate (may be {@code null}, treated as {@code "null"}).
688+
* @param fromIndex the starting index (inclusive).
689+
* @param toIndex the ending index (exclusive).
690+
* @throws IndexOutOfBoundsException if the range {@code [fromIndex, toIndex)} is out of bounds for {@code seq}.
691691
* @see Appendable#append(CharSequence, int, int)
692692
* @since 2.21.0
693693
*/
@@ -1889,10 +1889,10 @@ public static long copyLarge(final Reader reader, final Writer writer) throws IO
18891889
*
18901890
* @param reader the {@link Reader} to source.
18911891
* @param writer the {@link Writer} to target.
1892-
* @param buffer the buffer to be used for the copy
1893-
* @return the number of characters copied
1894-
* @throws NullPointerException if the input or output is null
1895-
* @throws IOException if an I/O error occurs
1892+
* @param buffer the buffer to be used for the copy.
1893+
* @return the number of characters copied.
1894+
* @throws NullPointerException if the input or output is null.
1895+
* @throws IOException if an I/O error occurs.
18961896
* @since 2.2
18971897
*/
18981898
public static long copyLarge(final Reader reader, final Writer writer, final char[] buffer) throws IOException {

0 commit comments

Comments
 (0)