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

Unified Diff: lib/coreimpl/collections.dart

Issue 10939030: Reapply conversion of most core interfaces to abstract classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « lib/core/strings.dart ('k') | lib/coreimpl/coreimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/coreimpl/collections.dart
diff --git a/lib/coreimpl/collections.dart b/lib/coreimpl/collections.dart
index 7786d3d364f1457d4361282fb304d47ad4a1b4d3..07f0abad47e1bd4005746a6a55f85522b184e4a5 100644
--- a/lib/coreimpl/collections.dart
+++ b/lib/coreimpl/collections.dart
@@ -138,7 +138,7 @@ class Collections {
Maps._emitMap(o, result, visiting);
}
} else { // o is neither a collection nor a map
- result.add(o == null ? 'null' : o); // TODO(jjb): remove the null check
+ result.add(o);
}
}
« no previous file with comments | « lib/core/strings.dart ('k') | lib/coreimpl/coreimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698