mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8256183: InputStream.skipNBytes is missing @since 12
Reviewed-by: dfuchs, lancea, bpb
This commit is contained in:
parent
b21b96df21
commit
be6c89366f
1 changed files with 2 additions and 0 deletions
|
@ -592,6 +592,8 @@ public abstract class InputStream implements Closeable {
|
|||
* @throws IOException if the stream cannot be positioned properly or
|
||||
* if an I/O error occurs.
|
||||
* @see java.io.InputStream#skip(long)
|
||||
*
|
||||
* @since 12
|
||||
*/
|
||||
public void skipNBytes(long n) throws IOException {
|
||||
if (n > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue