Chromium Code Reviews

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

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: editor/util/plugins/com.google.dart.java2dart/resources/java_engine.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/java_engine.dart b/editor/util/plugins/com.google.dart.java2dart/resources/java_engine.dart
index a83aa7d5c686027c3a1fea2a5563044d8d77b4e4..bb3bdb8bdb0453b4031c2c8466df642523cec983 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/java_engine.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/java_engine.dart
@@ -1,5 +1,5 @@
library java.engine;
class StringUtilities {
- static List<String> EMPTY_ARRAY = new List.fixedLength(0);
-}
+ static List<String> EMPTY_ARRAY = new List(0);
+}

Powered by Google App Engine