Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(498)

Issue 295950043: Java version of DecimalFormatSymbols data loading (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years ago by sffc
Modified:
7 years, 10 months ago
Reviewers:
fabalbon, CraigC, markus.icu
Base URL:
http://source.icu-project.org/repos/icu/icu4j/trunk/
Visibility:
Public.

Description

Java version of DecimalFormatSymbols data loading

Patch Set 1 #

Total comments: 4

Patch Set 2 : Updating DecimalFormatSymbols to use the new sink iteration style. #

Total comments: 22

Patch Set 3 : Updating DecimalFormatSymbols with Markus's feedback. #

Total comments: 14

Patch Set 4 : Changing logic to avoid loading Latin fallback if all values are populated #

Total comments: 6

Patch Set 5 : A few more changes recommended by Markus #

Patch Set 6 : Fixing MissingResourceException found by unit tests #

Patch Set 7 : Changing logic to expose MissingResourceException for Latin numbering systems #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java View 1 2 3 4 5 6 2 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 25
sffc
Here is the Java code review. I designed the logic of the two versions (C++ ...
8 years ago (2016-04-19 01:13:27 UTC) #1
sffc
Adding explanations for some of the changes. https://codereview.appspot.com/295950043/diff/1/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (left): https://codereview.appspot.com/295950043/diff/1/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#oldcode924 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:924: setLocale(uloc, uloc); ...
8 years ago (2016-04-19 01:19:22 UTC) #2
sffc
Updating DecimalFormatSymbols to use the new sink iteration style.
8 years ago (2016-04-26 00:53:42 UTC) #3
markus.icu
https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode844 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:844: * The indices of each name into the array ...
7 years, 12 months ago (2016-04-26 20:29:37 UTC) #4
sffc
Replying to Markus. https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode844 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:844: * The indices of each name ...
7 years, 12 months ago (2016-04-26 21:50:14 UTC) #5
sffc
Updating DecimalFormatSymbols with Markus's feedback.
7 years, 12 months ago (2016-04-26 21:51:50 UTC) #6
markus.icu
https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode909 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:909: // If we didn't find the field name, leave ...
7 years, 12 months ago (2016-04-28 18:27:56 UTC) #7
sffc
https://codereview.appspot.com/295950043/diff/40001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/40001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode898 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:898: // Properties: On 2016/04/28 18:27:56, markus.icu wrote: > I ...
7 years, 12 months ago (2016-04-28 18:46:14 UTC) #8
sffc
Removing a few unnecessary comments according to feedback.
7 years, 12 months ago (2016-04-28 18:46:51 UTC) #9
sffc
https://codereview.appspot.com/295950043/diff/40001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/40001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode989 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:989: // Load the Latin fallback On 2016/04/28 18:46:13, sffc ...
7 years, 12 months ago (2016-04-28 18:59:10 UTC) #10
sffc
Changing logic to avoid loading Latin fallback if all values are populated
7 years, 12 months ago (2016-04-28 19:47:14 UTC) #11
sffc
https://codereview.appspot.com/295950043/diff/40001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/40001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode989 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:989: // Load the Latin fallback On 2016/04/28 18:59:10, sffc ...
7 years, 12 months ago (2016-04-28 19:48:21 UTC) #12
markus.icu
Please also check for unresolved comments. https://codereview.appspot.com/295950043/diff/80001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/80001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode30 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:30: * Why did ...
7 years, 12 months ago (2016-04-28 20:47:48 UTC) #13
sffc
https://codereview.appspot.com/295950043/diff/80001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/80001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode30 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:30: * On 2016/04/28 20:47:48, markus.icu wrote: > Why did ...
7 years, 12 months ago (2016-04-28 21:03:33 UTC) #14
sffc
Resetting comment lines at top of file
7 years, 12 months ago (2016-04-28 21:04:20 UTC) #15
sffc
Adding if{} braces as oer style guidelines
7 years, 12 months ago (2016-04-28 22:23:28 UTC) #16
markus.icu
https://codereview.appspot.com/295950043/diff/80001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/80001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode986 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:986: resolveMissingMonetarySeparators(data[0]); On 2016/04/28 21:03:33, sffc wrote: > I did ...
7 years, 12 months ago (2016-04-28 22:45:51 UTC) #17
sffc
https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java File main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java (right): https://codereview.appspot.com/295950043/diff/20001/main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java#newcode909 main/classes/core/src/com/ibm/icu/text/DecimalFormatSymbols.java:909: // If we didn't find the field name, leave ...
7 years, 12 months ago (2016-04-28 23:27:42 UTC) #18
sffc
A few more changes recommended by Markus
7 years, 12 months ago (2016-04-29 00:14:55 UTC) #19
markus.icu
LGTM I assume you have run the test suite and it passes.
7 years, 12 months ago (2016-04-29 19:52:35 UTC) #20
sffc
Fixing MissingResourceException found by unit tests
7 years, 12 months ago (2016-04-29 22:57:28 UTC) #21
markus.icu
still LGTM
7 years, 11 months ago (2016-05-02 20:45:52 UTC) #22
sffc
Changing logic to expose MissingResourceException for Latin numbering systems
7 years, 11 months ago (2016-05-05 18:47:42 UTC) #23
markus.icu
LGTM
7 years, 11 months ago (2016-05-06 22:22:08 UTC) #24
sffc
7 years, 10 months ago (2016-05-31 16:54:40 UTC) #25
On 2016/05/06 22:22:08, markus.icu wrote:
> LGTM

Submitted as r38676 and r38715.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b