8245398: Remove addition preview adornment from String::formatted

Reviewed-by: psandoz
This commit is contained in:
Jim Laskey 2020-05-20 10:00:52 -03:00
parent 600d82adf8
commit afe76a97d5

@ -3322,15 +3322,6 @@ public final class String
} }
/** /**
* {@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 * Formats using this string as the format string, and the supplied
* arguments. * arguments.
* *
@ -3344,7 +3335,7 @@ public final class String
* @see java.lang.String#format(String,Object...) * @see java.lang.String#format(String,Object...)
* @see java.util.Formatter * @see java.util.Formatter
* *
* @since 13 * @since 15
* *
*/ */
public String formatted(Object... args) { public String formatted(Object... args) {