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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart

Issue 15675016: More fixes for java2dart and status files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
Index: editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart b/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
index 18888f7710d4fd1f4efd27b9b493ac76df9a102c..e8b10476b89c86d7e468827a87f5cf231e2c6680 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
@@ -456,8 +456,8 @@ class MapEntry<K, V> {
}
}
-Set<MapEntry> getMapEntrySet(Map m) {
- Set<MapEntry> result = new Set();
+Iterable<MapEntry> getMapEntrySet(Map m) {
+ List<MapEntry> result = [];
m.forEach((k, v) {
result.add(new MapEntry(m, k, v));
});

Powered by Google App Engine
This is Rietveld 408576698