mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8326853: Missing @since
tags for Charset related methods added in Java 10
Reviewed-by: jlu, naoto
This commit is contained in:
parent
ce7ebaa606
commit
4d932d615c
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
@ -505,6 +505,8 @@ public final class Channels {
|
|||
* @param charset The charset to be used
|
||||
*
|
||||
* @return A new reader
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
public static Reader newReader(ReadableByteChannel ch, Charset charset) {
|
||||
Objects.requireNonNull(charset, "charset");
|
||||
|
@ -613,6 +615,8 @@ public final class Channels {
|
|||
* The charset to be used
|
||||
*
|
||||
* @return A new writer
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
public static Writer newWriter(WritableByteChannel ch, Charset charset) {
|
||||
Objects.requireNonNull(charset, "charset");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue