Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit afe76a9

Browse files
author
Jim Laskey
committedMay 20, 2020
8245398: Remove addition preview adornment from String::formatted
Reviewed-by: psandoz
1 parent 600d82a commit afe76a9

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed
 

‎src/java.base/share/classes/java/lang/String.java

+1-10
Original file line numberDiff line numberDiff line change
@@ -3322,15 +3322,6 @@ public static String format(Locale l, String format, Object... args) {
33223322
}
33233323

33243324
/**
3325-
* {@preview Associated with text blocks, a preview feature of
3326-
* the Java language.
3327-
*
3328-
* This method is associated with <i>text blocks</i>, a preview
3329-
* feature of the Java language. Programs can only use this
3330-
* method when preview features are enabled. Preview features
3331-
* may be removed in a future release, or upgraded to permanent
3332-
* features of the Java language.}
3333-
*
33343325
* Formats using this string as the format string, and the supplied
33353326
* arguments.
33363327
*
@@ -3344,7 +3335,7 @@ public static String format(Locale l, String format, Object... args) {
33443335
* @see java.lang.String#format(String,Object...)
33453336
* @see java.util.Formatter
33463337
*
3347-
* @since 13
3338+
* @since 15
33483339
*
33493340
*/
33503341
public String formatted(Object... args) {

0 commit comments

Comments
 (0)