Index: runtime/lib/immutable_map.dart |
diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart |
index 87c1689c15436ac6d70d5b078039da84adbbcc14..3dc14fa3fdaff2f5368c2a9bf1574bfceee96eb0 100644 |
--- a/runtime/lib/immutable_map.dart |
+++ b/runtime/lib/immutable_map.dart |
@@ -9,14 +9,13 @@ class _ImmutableMap<K, V> implements Map<K, V> { |
const _ImmutableMap._create(_ImmutableList keyValuePairs) |
: _kvPairs = keyValuePairs; |
- |
V operator [](Object key) { |
// To preserve the key-value order of the map literal, the keys are |
// not sorted. Need to do linear search or implement an additional |
// lookup table. |
for (int i = 0; i < _kvPairs.length - 1; i += 2) { |
if (key == _kvPairs[i]) { |
- return _kvPairs[i+1]; |
+ return _kvPairs[i + 1]; |
} |
} |
return null; |
@@ -34,7 +33,7 @@ class _ImmutableMap<K, V> implements Map<K, V> { |
void forEach(void f(K key, V value)) { |
for (int i = 0; i < _kvPairs.length; i += 2) { |
- f(_kvPairs[i], _kvPairs[i+1]); |
+ f(_kvPairs[i], _kvPairs[i + 1]); |
} |
} |