mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8338882: Clarify matching order of MessageFormat subformat factory styles
Reviewed-by: naoto
This commit is contained in:
parent
25e03b5209
commit
b840b130df
1 changed files with 4 additions and 1 deletions
|
@ -692,7 +692,10 @@ public class MessageFormat extends Format {
|
||||||
* represents the current state of this {@code MessageFormat}}
|
* represents the current state of this {@code MessageFormat}}
|
||||||
*
|
*
|
||||||
* The string is constructed from internal information and therefore
|
* The string is constructed from internal information and therefore
|
||||||
* does not necessarily equal the previously applied pattern.
|
* does not necessarily equal the previously applied pattern. The order of
|
||||||
|
* {@code FormatStyle} matching is not guaranteed. That is, a {@code
|
||||||
|
* FormatStyle} produced may not be equivalent to the corresponding style passed,
|
||||||
|
* in the instance that multiple styles are equivalent.
|
||||||
*
|
*
|
||||||
* @implSpec The implementation in {@link MessageFormat} returns a
|
* @implSpec The implementation in {@link MessageFormat} returns a
|
||||||
* string that, when passed to a {@code MessageFormat()} constructor
|
* string that, when passed to a {@code MessageFormat()} constructor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue