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

Issue 1302283002: Make LineSplitter.split return an Iterable<String>, not Iterable<>.

Created:
5 years, 4 months ago by Lasse Reichstein Nielsen
Modified:
4 years, 9 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make LineSplitter.split return an Iterable<String>, not Iterable<>.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -19 lines) Patch
M sdk/lib/convert/line_splitter.dart View 2 chunks +50 lines, -19 lines 1 comment Download

Messages

Total messages: 4 (1 generated)
Lasse Reichstein Nielsen
That's what returning an Iterable<String> would be. Alternatively we could just use a delegating iterable ...
5 years, 4 months ago (2015-08-21 09:18:44 UTC) #2
floitsch
LGTM, but I leave it up to you. It's a trade-off: it looks less worse, ...
5 years, 4 months ago (2015-08-21 09:23:12 UTC) #3
floitsch
4 years, 9 months ago (2016-03-08 12:35:34 UTC) #4
https://codereview.chromium.org/1302283002/diff/1/sdk/lib/convert/line_splitt...
File sdk/lib/convert/line_splitter.dart (right):

https://codereview.chromium.org/1302283002/diff/1/sdk/lib/convert/line_splitt...
sdk/lib/convert/line_splitter.dart:74: // Break on CR or CR+LF
Finish with "."

Powered by Google App Engine
This is Rietveld 408576698