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

Unified Diff: sdk/lib/core/list.dart

Issue 2754013002: Format all dart: library files (Closed)
Patch Set: Format all dart: library files Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/core/iterable.dart ('k') | sdk/lib/core/map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/list.dart
diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
index ca0a449777e307c59483e8c81dbb3da7111c7dfd..e412b3e3ba1d809b6e186633c2998e02bc8c5545 100644
--- a/sdk/lib/core/list.dart
+++ b/sdk/lib/core/list.dart
@@ -117,7 +117,7 @@ abstract class List<E> implements EfficientLengthIterable<E> {
* This constructor returns a growable list when [growable] is true;
* otherwise, it returns a fixed-length list.
*/
- external factory List.from(Iterable elements, { bool growable: true });
+ external factory List.from(Iterable elements, {bool growable: true});
/**
* Generates a list of values.
@@ -131,7 +131,7 @@ abstract class List<E> implements EfficientLengthIterable<E> {
* The created list is fixed-length unless [growable] is true.
*/
factory List.generate(int length, E generator(int index),
- { bool growable: true }) {
+ {bool growable: true}) {
List<E> result;
if (growable) {
result = <E>[]..length = length;
« no previous file with comments | « sdk/lib/core/iterable.dart ('k') | sdk/lib/core/map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698