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

Issue 2459593002: make the parser able to parse old versions of the codec (Closed)

Created:
4 years, 1 month ago by Harry Terkelsen
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -14 lines) Patch
M lib/json_info_codec.dart View 2 chunks +61 lines, -13 lines 1 comment Download
M pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
Harry Terkelsen
4 years, 1 month ago (2016-10-27 14:01:01 UTC) #2
Siggi Cherem (dart-lang)
lgtm
4 years, 1 month ago (2016-10-27 14:09:36 UTC) #3
Harry Terkelsen
Committed patchset #1 (id:1) manually as eb7f91eed9f5d7e02ef8043613a225165a03bcca (presubmit successful).
4 years, 1 month ago (2016-10-27 14:12:05 UTC) #5
sra1
4 years, 1 month ago (2016-10-27 14:19:47 UTC) #6
Message was sent while issue was closed.
lgtm

https://codereview.chromium.org/2459593002/diff/1/lib/json_info_codec.dart
File lib/json_info_codec.dart (right):

https://codereview.chromium.org/2459593002/diff/1/lib/json_info_codec.dart#ne...
lib/json_info_codec.dart:168: if (toJsonDuration is String) {
You could put this repeated if-then-else in a helper

Powered by Google App Engine
This is Rietveld 408576698