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

Unified Diff: client/html/src/ElementWrappingImplementation.dart

Issue 9234069: Change a couple vars -> finals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/ElementWrappingImplementation.dart
diff --git a/client/html/src/ElementWrappingImplementation.dart b/client/html/src/ElementWrappingImplementation.dart
index ace8e817300517925b9cf34c7fae35b2bc8134fb..69daec26cbc8ae63c26ffae6648b2cf723a780d6 100644
--- a/client/html/src/ElementWrappingImplementation.dart
+++ b/client/html/src/ElementWrappingImplementation.dart
@@ -149,7 +149,7 @@ class FrozenElementList implements ElementList {
}
Collection map(f(Element element)) {
- var out = [];
+ final out = [];
for (Element el in this) {
out.add(f(el));
}
@@ -157,7 +157,7 @@ class FrozenElementList implements ElementList {
}
ElementList filter(bool f(Element element)) {
- var out = new _ElementList([]);
+ final out = new _ElementList([]);
for (Element el in this) {
if (f(el)) out.add(el);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698