OpenJDK / jdk / jdk
changeset 59369:b01b57c350bb
8245398: Remove addition preview adornment from String::formatted
Reviewed-by: psandoz
author | jlaskey |
---|---|
date | Wed, 20 May 2020 10:00:52 -0300 |
parents | 9bae474f4b16 |
children | a4b9bc6f38fd |
files | src/java.base/share/classes/java/lang/String.java |
diffstat | 1 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/String.java Wed May 20 14:09:18 2020 +0200 +++ b/src/java.base/share/classes/java/lang/String.java Wed May 20 10:00:52 2020 -0300 @@ -3322,15 +3322,6 @@ } /** - * {@preview Associated with text blocks, a preview feature of - * the Java language. - * - * This method is associated with <i>text blocks</i>, a preview - * feature of the Java language. Programs can only use this - * method when preview features are enabled. Preview features - * may be removed in a future release, or upgraded to permanent - * features of the Java language.} - * * Formats using this string as the format string, and the supplied * arguments. * @@ -3344,7 +3335,7 @@ * @see java.lang.String#format(String,Object...) * @see java.util.Formatter * - * @since 13 + * @since 15 * */ public String formatted(Object... args) {