Commit graph

31 commits

Author SHA1 Message Date
Nizar Benalla
f4fa35e28b 8330954: since-checker - Fix remaining @ since tags in java.base
Reviewed-by: liach, naoto
2024-07-04 15:44:57 +00:00
Justin Lu
941bee197f 8327640: Allow NumberFormat strict parsing
Reviewed-by: naoto
2024-04-16 16:18:09 +00:00
Justin Lu
0cb0b5db2a 8327875: ChoiceFormat should advise throwing UnsupportedOperationException for unused methods
Reviewed-by: naoto
2024-03-27 21:13:28 +00:00
Justin Lu
b665fe3ac1 6801704: ChoiceFormat::applyPattern inconsistency for invalid patterns
Reviewed-by: naoto
2024-03-05 22:37:58 +00:00
Justin Lu
d22d890cac 8325898: ChoiceFormat returns erroneous result when formatting bad pattern
Reviewed-by: naoto
2024-02-26 23:43:52 +00:00
Justin Lu
d3c3194ac3 6285888: ChoiceFormat can support unescaped relational symbols in the Format segment
Reviewed-by: naoto
2024-02-01 22:21:45 +00:00
Justin Lu
96607df7f0 8321545: Override toString() for Format subclasses
Reviewed-by: naoto, rriggs
2024-01-23 22:22:16 +00:00
Justin Lu
aadf36809c 6230751: [Fmt-Ch] Recursive MessageFormats in ChoiceFormats ignore indicated subformats
Reviewed-by: naoto
2023-12-12 19:25:20 +00:00
Justin Lu
caf71810f8 8318189: ChoiceFormat::format throws undocumented AIOOBE
Reviewed-by: naoto
2023-11-12 21:39:43 +00:00
Justin Lu
ee57e731d0 8317612: ChoiceFormat and MessageFormat constructors call non-final public method
Reviewed-by: naoto, lancea
2023-11-01 21:29:45 +00:00
Justin Lu
ca3bdfc0c7 8318186: ChoiceFormat inconsistency between applyPattern() and setChoices()
Reviewed-by: naoto
2023-10-25 17:12:37 +00:00
Justin Lu
684b91efbb 8315064: j.text.ChoiceFormat provides no specification on quoting behavior
Reviewed-by: naoto
2023-10-19 22:53:07 +00:00
Justin Lu
8fcf70e931 5066247: Refine the spec of equals() and hashCode() for j.text.Format classes
Reviewed-by: naoto, darcy
2023-10-02 05:06:45 +00:00
Justin Lu
ce93d27fe5 6228794: java.text.ChoiceFormat pattern behavior is not well documented.
Reviewed-by: naoto
2023-09-13 20:32:21 +00:00
Justin Lu
7754ac0506 8314925: ChoiceFormat does not specify IllegalArgumentExceptions
Reviewed-by: naoto
2023-08-31 23:02:26 +00:00
Pavel Rappo
1dfb0fb3e2 8311188: Simplify and modernize equals and hashCode in java.text
Reviewed-by: lancea, naoto, rriggs
2023-07-18 15:12:09 +00:00
Justin Lu
6cb9ec32a6 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto
2023-07-11 17:12:02 +00:00
Justin Lu
dcf1523bf2 8300077: Refactor code examples to use @snippet in java.text.ChoiceFormat
Reviewed-by: lancea, iris, naoto
2023-01-23 19:31:36 +00:00
Justin Lu
cd10c7278d 8299500: Usage of constructors of primitive wrapper classes should be avoided in java.text API docs
Reviewed-by: naoto, lancea
2023-01-09 17:43:31 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Andrey Turbanov
9a3e954299 8274879: Replace uses of StringBuffer with StringBuilder within java.base classes
Reviewed-by: naoto
2021-10-27 16:18:12 +00:00
Claes Redestad
30b0f820ce 8272626: Avoid C-style array declarations in java.*
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Julia Boes
d15a57b842 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Jonathan Gibbons
2df0f4b4dd 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
Nishit Jain
b2a6aa3e80 8208560: ChoiceFormat class has unused constants needs cleanup
Reviewed-by: rriggs, naoto
2018-08-01 18:02:25 +05:30
Nishit Jain
c1bbdfaa2c 8021322: [Fmt-Ch] Implementation of ChoiceFormat math methods should delegate to java.lang.Math methods
Reviewed-by: naoto, darcy
2018-07-27 14:20:07 +05:30
Jonathan Gibbons
810af1172d 8200888: typo in name of exception in @throws
Reviewed-by: bpb, darcy
2018-04-04 17:50:53 -07:00
Martin Buchholz
79fffd05ef 8200364: Remove unnecessary boxing via primitive wrapper valueOf(String) methods
Reviewed-by: dfuchs, alanb
2018-04-02 17:09:29 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Renamed from jdk/src/java.base/share/classes/java/text/ChoiceFormat.java (Browse further)