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

Issue 293250043: CompactDecimalDataCache - Java (Closed)

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

Description

First draft of the CompactDecimalDataCache data loading transformation.

Patch Set 1 #

Patch Set 2 : Small logic fix #

Total comments: 35

Patch Set 3 : Updating with Markus's first round of feedback #

Total comments: 14

Patch Set 4 : Updating with Markus's second round of feedback #

Total comments: 16

Patch Set 5 : Updating with Markus's third round of feedback #

Total comments: 1

Patch Set 6 : Revising logic for Serbian-Long test case #

Patch Set 7 : One more try at the logic. #

Total comments: 2

Patch Set 8 : Adding handler for resource not found. #

Total comments: 2

Patch Set 9 : One last update before submitting. #

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

Messages

Total messages: 29
sffc
Here is the Java CompactDecimalDataCache code.
8 years ago (2016-04-26 22:09:27 UTC) #1
jannis.beyer22
8 years ago (2016-04-26 23:18:01 UTC) #2
sffc
Small logic fix
7 years, 12 months ago (2016-04-28 19:19:04 UTC) #3
sffc
Small logic fix
7 years, 12 months ago (2016-04-28 19:22:13 UTC) #4
sffc
Small logic fix
7 years, 12 months ago (2016-04-28 19:23:22 UTC) #5
sffc
https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode200 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:200: // and shortData is already populated, perhaps from deeper ...
7 years, 12 months ago (2016-04-28 19:24:18 UTC) #6
markus.icu
Initial feedback. https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode11 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:11: import java.util.Map.Entry; Please use Map.Entry in the ...
7 years, 12 months ago (2016-04-29 23:47:39 UTC) #7
sffc
Updating with Markus's first round of feedback
7 years, 12 months ago (2016-05-01 21:27:29 UTC) #8
sffc
Updated with Markus's first round of feedback. https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode11 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:11: import java.util.Map.Entry; ...
7 years, 12 months ago (2016-05-01 21:29:21 UTC) #9
markus.icu
https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode82 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:82: return this.units == null || this.units.isEmpty(); On 2016/05/01 21:29:20, ...
7 years, 12 months ago (2016-05-02 23:19:19 UTC) #10
sffc
Updating with Markus's second round of feedback
7 years, 12 months ago (2016-05-02 23:41:37 UTC) #11
sffc
https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/60001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode82 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:82: return this.units == null || this.units.isEmpty(); On 2016/05/02 23:19:18, ...
7 years, 12 months ago (2016-05-02 23:41:55 UTC) #12
markus.icu
https://codereview.appspot.com/293250043/diff/100001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/100001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode128 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:128: * latn{ <-- top (numbering system table) I think ...
7 years, 11 months ago (2016-05-03 18:31:20 UTC) #13
sffc
Updating with Markus's third round of feedback
7 years, 11 months ago (2016-05-04 00:36:49 UTC) #14
sffc
Updating with Markus's third round of feedback
7 years, 11 months ago (2016-05-04 00:41:02 UTC) #15
sffc
https://codereview.appspot.com/293250043/diff/100001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/100001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode128 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:128: * latn{ <-- top (numbering system table) On 2016/05/03 ...
7 years, 11 months ago (2016-05-04 00:42:28 UTC) #16
markus.icu
LGTM https://codereview.appspot.com/293250043/diff/100001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/100001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode232 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:232: String pluralVariant = key.toString(); On 2016/05/04 00:42:27, sffc ...
7 years, 11 months ago (2016-05-04 20:43:44 UTC) #17
sffc
Revising logic for Serbian-Long test case
7 years, 11 months ago (2016-05-10 20:13:13 UTC) #18
sffc
Fixing logic in Java to be consistent with C++ changes and make Serbian test cases ...
7 years, 11 months ago (2016-05-10 20:15:24 UTC) #19
sffc
One more try at the logic.
7 years, 11 months ago (2016-05-10 21:40:14 UTC) #20
fabalbon
https://codereview.appspot.com/293250043/diff/180001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/180001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode291 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:291: if (!nsName.equals(LATIN_NUMBERING_SYSTEM)) { It might be possible to simplify ...
7 years, 11 months ago (2016-05-10 22:49:24 UTC) #21
markus.icu
LGTM https://codereview.appspot.com/293250043/diff/180001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/180001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode291 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:291: if (!nsName.equals(LATIN_NUMBERING_SYSTEM)) { FYI: I have not thought ...
7 years, 11 months ago (2016-05-13 17:38:37 UTC) #22
sffc
Adding handler for resource not found.
7 years, 11 months ago (2016-05-16 22:50:18 UTC) #23
sffc
Adding MissingResourceException try/catch for C++ consistency.
7 years, 11 months ago (2016-05-16 22:51:12 UTC) #24
markus.icu
LGTM in case this is really still pending
7 years, 11 months ago (2016-05-30 18:19:25 UTC) #25
markus.icu
https://codereview.appspot.com/293250043/diff/200001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java (right): https://codereview.appspot.com/293250043/diff/200001/main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java#newcode300 main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:300: // Set the "isFallback" flag for when we read ...
7 years, 11 months ago (2016-05-30 18:27:51 UTC) #26
sffc
One last update before submitting.
7 years, 11 months ago (2016-05-31 17:33:38 UTC) #27
sffc
On 2016/05/31 17:33:38, sffc wrote: > One last update before submitting. Submitted as r38773.
7 years, 11 months ago (2016-05-31 17:35:51 UTC) #28
sffc
7 years, 11 months ago (2016-05-31 17:35:59 UTC) #29
https://codereview.appspot.com/293250043/diff/200001/main/classes/core/src/co...
File main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java
(right):

https://codereview.appspot.com/293250043/diff/200001/main/classes/core/src/co...
main/classes/core/src/com/ibm/icu/text/CompactDecimalDataCache.java:300: // Set
the "isFallback" flag for when we read Latin
On 2016/05/30 18:27:51, markus.icu wrote:
> Please see my question about this in the C++ review.

Acknowledged.
Sign in to reply to this message.

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