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

Unified Diff: pkg/analyzer-experimental/lib/src/generated/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: Merge to head. Created 7 years, 10 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: pkg/analyzer-experimental/lib/src/generated/java_engine.dart
diff --git a/pkg/analyzer-experimental/lib/src/generated/java_engine.dart b/pkg/analyzer-experimental/lib/src/generated/java_engine.dart
index 9254fdc6bf7b01786178ba321bc77e35e998fa7b..b1c131a42afaae2cb0dfb9fec80d207397f9857c 100644
--- a/pkg/analyzer-experimental/lib/src/generated/java_engine.dart
+++ b/pkg/analyzer-experimental/lib/src/generated/java_engine.dart
@@ -45,7 +45,7 @@ import "element.dart";
//}
class StringUtilities {
- static List<String> EMPTY_ARRAY = new List.fixedLength(0);
+ static List<String> EMPTY_ARRAY = new List(0);
}
File createFile(String path) => new File(path);
@@ -53,4 +53,4 @@ File createFile(String path) => new File(path);
class OSUtilities {
static bool isWindows() => Platform.operatingSystem == 'windows';
static bool isMac() => Platform.operatingSystem == 'macos';
-}
+}

Powered by Google App Engine
This is Rietveld 408576698