Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Issue 11366016: Update intl to new import syntax (Closed)

Created:
8 years, 1 month ago by Alan Knight
Modified:
8 years, 1 month ago
Reviewers:
Emily Fortuna, scheglov
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Update intl to new import syntax Committed: https://code.google.com/p/dart/source/detail?r=14372

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -154 lines) Patch
M pkg/intl/example/basic/basic_example.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/intl/example/basic/basic_example_runner.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/example/basic/messages_all.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/example/basic/messages_de.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/intl/example/basic/messages_th_th.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/intl/lib/bidi_formatter.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/intl/lib/bidi_utils.dart View 1 2 chunks +3 lines, -1 line 0 comments Download
M pkg/intl/lib/date_format.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/intl/lib/date_symbol_data_file.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M pkg/intl/lib/date_symbol_data_http_request.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/intl/lib/date_symbol_data_local.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/lib/date_symbols.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/lib/date_time_patterns.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/lib/intl.dart View 1 1 chunk +10 lines, -10 lines 0 comments Download
M pkg/intl/lib/intl_browser.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/lib/intl_standalone.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/lib/message_lookup_local.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/lib/number_format.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/intl/lib/number_symbols.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/lib/number_symbols_data.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/intl/lib/src/data/dates/localeList.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/intl/lib/src/date_format_field.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/intl/lib/src/date_format_helpers.dart View 1 2 chunks +4 lines, -1 line 0 comments Download
M pkg/intl/lib/src/date_format_internal.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/intl/lib/src/file_data_reader.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/lib/src/http_request_data_reader.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/lib/src/intl_helpers.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/lib/src/lazy_locale_data.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/test/bidi_format_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/test/bidi_utils_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/test/data_directory.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/intl/test/date_time_format_file_even_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/test/date_time_format_file_odd_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/test/date_time_format_file_test_stub.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M pkg/intl/test/date_time_format_http_request_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/intl/test/date_time_format_local_even_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/test/date_time_format_local_odd_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/intl/test/date_time_format_local_test_stub.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/intl/test/date_time_format_test_core.dart View 1 2 chunks +7 lines, -6 lines 0 comments Download
M pkg/intl/test/date_time_format_test_data.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/test/find_default_locale_browser_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/test/find_default_locale_standalone_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/test/intl_message_basic_example_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/intl/test/intl_message_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/test/intl_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/test/number_format_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/intl/tool/generate_locale_data_files.dart View 1 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Alan Knight
Not as large as it looks :-) Just running the editor's migration tool for the ...
8 years, 1 month ago (2012-10-31 19:53:15 UTC) #1
Emily Fortuna
lgtm with a few adjustments/comments https://codereview.chromium.org/11366016/diff/1/pkg/intl/lib/bidi_utils.dart File pkg/intl/lib/bidi_utils.dart (right): https://codereview.chromium.org/11366016/diff/1/pkg/intl/lib/bidi_utils.dart#newcode362 pkg/intl/lib/bidi_utils.dart:362: if (char == '('.charCodeAt(0)) ...
8 years, 1 month ago (2012-10-31 20:17:32 UTC) #2
Alan Knight
https://codereview.chromium.org/11366016/diff/1/pkg/intl/lib/bidi_utils.dart File pkg/intl/lib/bidi_utils.dart (right): https://codereview.chromium.org/11366016/diff/1/pkg/intl/lib/bidi_utils.dart#newcode362 pkg/intl/lib/bidi_utils.dart:362: if (char == '('.charCodeAt(0)) { sum++; On 2012/10/31 20:17:32, ...
8 years, 1 month ago (2012-10-31 21:31:58 UTC) #3
scheglov
8 years, 1 month ago (2012-11-01 03:23:27 UTC) #4
https://codereview.chromium.org/11366016/diff/1/pkg/intl/lib/bidi_utils.dart
File pkg/intl/lib/bidi_utils.dart (right):

https://codereview.chromium.org/11366016/diff/1/pkg/intl/lib/bidi_utils.dart#...
pkg/intl/lib/bidi_utils.dart:362: if (char == '('.charCodeAt(0)) { sum++;
On 2012/10/31 21:31:59, Alan Knight wrote:
> On 2012/10/31 20:17:32, Emily Fortuna wrote:
> > adding brackets here while sum++ is still on the same line as the if strikes
> me
> > as odd. I'd say do one or the other { + new line, or one line + no bracket.
> 
> Interesting. That's something the tool must have done. Reverting it.

You probably have some clean ups on "Style" page active.

Actually Style Guide requires to use {} here:

DO use curly braces for all flow control structures.
There is one exception to this: short if statements with no else clause that fit
on one line may omit the braces.

Powered by Google App Engine
This is Rietveld 408576698