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

Unified Diff: sdk/lib/collection/linked_hash_map.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/collection/iterable.dart ('k') | sdk/lib/collection/linked_hash_set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/linked_hash_map.dart
diff --git a/sdk/lib/collection/linked_hash_map.dart b/sdk/lib/collection/linked_hash_map.dart
index fe21eeabaed04314ecfbd11f766db6000a050749..f7ce97ebda75c21e39b08b1226d3432d3f808094 100644
--- a/sdk/lib/collection/linked_hash_map.dart
+++ b/sdk/lib/collection/linked_hash_map.dart
@@ -70,9 +70,10 @@ abstract class LinkedHashMap<K, V> implements HashMap<K, V> {
* If you supply one of [equals] and [hashCode],
* you should generally also to supply the other.
*/
- external factory LinkedHashMap({bool equals(K key1, K key2),
- int hashCode(K key),
- bool isValidKey(potentialKey)});
+ external factory LinkedHashMap(
+ {bool equals(K key1, K key2),
+ int hashCode(K key),
+ bool isValidKey(potentialKey)});
/**
* Creates an insertion-ordered identity-based map.
@@ -89,7 +90,9 @@ abstract class LinkedHashMap<K, V> implements HashMap<K, V> {
*/
factory LinkedHashMap.from(Map other) {
LinkedHashMap<K, V> result = new LinkedHashMap<K, V>();
- other.forEach((k, v) { result[k as Object/*=K*/] = v as Object/*=V*/; });
+ other.forEach((k, v) {
+ result[k as Object/*=K*/] = v as Object/*=V*/;
+ });
return result;
}
« no previous file with comments | « sdk/lib/collection/iterable.dart ('k') | sdk/lib/collection/linked_hash_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698