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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library java.engine; 1 library java.engine;
2 2
3 import "dart:io"; 3 import "dart:io";
4 import "java_core.dart"; 4 import "java_core.dart";
5 import "source.dart"; 5 import "source.dart";
6 import "error.dart"; 6 import "error.dart";
7 import "ast.dart"; 7 import "ast.dart";
8 import "element.dart"; 8 import "element.dart";
9 9
10 //class AnalysisException implements Exception { 10 //class AnalysisException implements Exception {
(...skipping 27 matching lines...) Expand all
38 // } 38 // }
39 // getPublicNamespace(LibraryElement library) { 39 // getPublicNamespace(LibraryElement library) {
40 // throw new UnsupportedOperationException(); 40 // throw new UnsupportedOperationException();
41 // } 41 // }
42 // CompilationUnit parse(Source source, AnalysisErrorListener errorListener) { 42 // CompilationUnit parse(Source source, AnalysisErrorListener errorListener) {
43 // throw new UnsupportedOperationException(); 43 // throw new UnsupportedOperationException();
44 // } 44 // }
45 //} 45 //}
46 46
47 class StringUtilities { 47 class StringUtilities {
48 static List<String> EMPTY_ARRAY = new List.fixedLength(0); 48 static List<String> EMPTY_ARRAY = new List(0);
49 } 49 }
50 50
51 File createFile(String path) => new File(path); 51 File createFile(String path) => new File(path);
52 52
53 class OSUtilities { 53 class OSUtilities {
54 static bool isWindows() => Platform.operatingSystem == 'windows'; 54 static bool isWindows() => Platform.operatingSystem == 'windows';
55 static bool isMac() => Platform.operatingSystem == 'macos'; 55 static bool isMac() => Platform.operatingSystem == 'macos';
56 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698