mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8202745: Remove hyphens from "out-of-bounds"
Reviewed-by: rriggs, dholmes
This commit is contained in:
parent
ac3043c692
commit
b72846bc20
10 changed files with 40 additions and 40 deletions
|
@ -598,7 +598,7 @@ public abstract class HttpRequest {
|
|||
* @param length the number of bytes to use
|
||||
* @return a BodyPublisher
|
||||
* @throws IndexOutOfBoundsException if the sub-range is defined to be
|
||||
* out-of-bounds
|
||||
* out of bounds
|
||||
*/
|
||||
public static BodyPublisher ofByteArray(byte[] buf, int offset, int length) {
|
||||
Objects.checkFromIndexSize(offset, length, buf.length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue