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

Unified Diff: sdk/lib/collection/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/collections.dart ('k') | sdk/lib/collection/hash_set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/hash_map.dart
diff --git a/sdk/lib/collection/hash_map.dart b/sdk/lib/collection/hash_map.dart
index 6824328822877956769363a7d8861963d5de7cce..f46220b903ac14f8f9355eb4133c2520476d09c3 100644
--- a/sdk/lib/collection/hash_map.dart
+++ b/sdk/lib/collection/hash_map.dart
@@ -83,9 +83,10 @@ abstract class HashMap<K, V> implements Map<K, V> {
* If you supply one of [equals] and [hashCode],
* you should generally also to supply the other.
*/
- external factory HashMap({bool equals(K key1, K key2),
- int hashCode(K key),
- bool isValidKey(potentialKey)});
+ external factory HashMap(
+ {bool equals(K key1, K key2),
+ int hashCode(K key),
+ bool isValidKey(potentialKey)});
/**
* Creates an unordered identity-based map.
@@ -102,7 +103,9 @@ abstract class HashMap<K, V> implements Map<K, V> {
*/
factory HashMap.from(Map other) {
HashMap<K, V> result = new HashMap<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/collections.dart ('k') | sdk/lib/collection/hash_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698