Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
/ jdk21 Public archive


6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented fu…
Browse files Browse the repository at this point in the history

Reviewed-by: naoto, lancea, iris
Backport-of: 6cb9ec32a68634f0b6f7461c9dc7ef0c0e59861d
  • Loading branch information
Justin Lu committed Jul 13, 2023
1 parent b4f19f5 commit d370b96
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/java.base/share/classes/java/text/
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,6 @@ public ChoiceFormat(double[] limits, String[] formats) {
* If the limit array is not in ascending order, the results of formatting
* will be incorrect.
* @param formats are the formats you want to use for each limit.
* They can be either Format objects or Strings.
* When formatting with object Y,
* if the object is a NumberFormat, then ((NumberFormat) Y).format(X)
* is called. Otherwise Y.toString() is called.
* @throws NullPointerException if {@code limits} or
* {@code formats} is {@code null}
Expand Down

1 comment on commit d370b96

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.