From db0e2b8faf41b1dcf3cb8e637e213f50ced92584 Mon Sep 17 00:00:00 2001 From: Brian Burkhalter Date: Thu, 29 Feb 2024 16:47:04 +0000 Subject: [PATCH] 8326944: (ch) Minor typo in the ScatteringByteChannel.read(ByteBuffer[] dsts,int offset,int length) javadoc Reviewed-by: naoto, iris, coffeys, gli --- .../classes/java/nio/channels/ScatteringByteChannel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java.base/share/classes/java/nio/channels/ScatteringByteChannel.java b/src/java.base/share/classes/java/nio/channels/ScatteringByteChannel.java index fd48d4baa6e..27fce3c1e09 100644 --- a/src/java.base/share/classes/java/nio/channels/ScatteringByteChannel.java +++ b/src/java.base/share/classes/java/nio/channels/ScatteringByteChannel.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -56,7 +56,7 @@ public interface ScatteringByteChannel * *

An invocation of this method attempts to read up to r bytes * from this channel, where r is the total number of bytes remaining - * the specified subsequence of the given buffer array, that is, + * in the specified subsequence of the given buffer array, that is, * * {@snippet lang=java : * dsts[offset].remaining()