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

Unified Diff: pkg/analyzer/lib/task/dart.dart

Issue 1127183003: Rename EMPTY_ARRAY to EMPTY_LIST (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/task/dart.dart
diff --git a/pkg/analyzer/lib/task/dart.dart b/pkg/analyzer/lib/task/dart.dart
index 2c79bb3daaa887e80ad629de805506347368e125..e29652fff7b3d71f969b9b68bb1b35eb6d1b48ac 100644
--- a/pkg/analyzer/lib/task/dart.dart
+++ b/pkg/analyzer/lib/task/dart.dart
@@ -32,7 +32,8 @@ final CompositeResultDescriptor<List<AnalysisError>> DART_ERRORS =
* The result is only available for targets representing a Dart library.
*/
final ListResultDescriptor<Source> EXPLICITLY_IMPORTED_LIBRARIES =
- new ListResultDescriptor<Source>('EXPLICITLY_IMPORTED_LIBRARIES', Source.EMPTY_ARRAY);
+ new ListResultDescriptor<Source>(
+ 'EXPLICITLY_IMPORTED_LIBRARIES', Source.EMPTY_LIST);
/**
* The sources of the libraries that are exported from a library.
@@ -43,7 +44,7 @@ final ListResultDescriptor<Source> EXPLICITLY_IMPORTED_LIBRARIES =
* The result is only available for targets representing a Dart library.
*/
final ListResultDescriptor<Source> EXPORTED_LIBRARIES =
- new ListResultDescriptor<Source>('EXPORTED_LIBRARIES', Source.EMPTY_ARRAY);
+ new ListResultDescriptor<Source>('EXPORTED_LIBRARIES', Source.EMPTY_LIST);
/**
* The sources of the libraries that are implicitly or explicitly imported into
@@ -55,7 +56,7 @@ final ListResultDescriptor<Source> EXPORTED_LIBRARIES =
* The result is only available for targets representing a Dart library.
*/
final ListResultDescriptor<Source> IMPORTED_LIBRARIES =
- new ListResultDescriptor<Source>('IMPORTED_LIBRARIES', Source.EMPTY_ARRAY);
+ new ListResultDescriptor<Source>('IMPORTED_LIBRARIES', Source.EMPTY_LIST);
/**
* The sources of the parts that are included in a library.
@@ -66,7 +67,7 @@ final ListResultDescriptor<Source> IMPORTED_LIBRARIES =
* The result is only available for targets representing a Dart library.
*/
final ListResultDescriptor<Source> INCLUDED_PARTS =
- new ListResultDescriptor<Source>('INCLUDED_PARTS', Source.EMPTY_ARRAY);
+ new ListResultDescriptor<Source>('INCLUDED_PARTS', Source.EMPTY_LIST);
/**
* A flag specifying whether a library is dependent on code that is only
@@ -131,7 +132,7 @@ final ResultDescriptor<Token> TOKEN_STREAM =
* The result is only available for targets representing a Dart library.
*/
final ListResultDescriptor<Source> UNITS =
- new ListResultDescriptor<Source>('UNITS', Source.EMPTY_ARRAY);
+ new ListResultDescriptor<Source>('UNITS', Source.EMPTY_LIST);
/**
* A specific compilation unit in a specific library.
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698