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

Unified Diff: pkg/analysis_server/lib/src/context_directory_manager.dart

Issue 363723002: Change HashMap declarations back to Map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/analysis_server/lib/src/computer/element.dart ('k') | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/context_directory_manager.dart
diff --git a/pkg/analysis_server/lib/src/context_directory_manager.dart b/pkg/analysis_server/lib/src/context_directory_manager.dart
index f1e689762fe0e1d1f6c6c1bad76964c60c0ebc52..6c93f2ce7d6da38c8d5d7dce1cdc4a382bd7b29b 100644
--- a/pkg/analysis_server/lib/src/context_directory_manager.dart
+++ b/pkg/analysis_server/lib/src/context_directory_manager.dart
@@ -27,7 +27,7 @@ class _ContextDirectoryInfo {
* Map from full path to the [Source] object, for each source that has been
* added to the context.
*/
- HashMap<String, Source> sources = new HashMap<String, Source>();
+ Map<String, Source> sources = new HashMap<String, Source>();
/**
* Dependencies of the context's package map. If any of these files changes,
@@ -50,7 +50,7 @@ abstract class ContextDirectoryManager {
* [_ContextDirectoryInfo] object for each included directory in the most
* recent successful call to [setRoots].
*/
- HashMap<Folder, _ContextDirectoryInfo> _currentDirectoryInfo =
+ Map<Folder, _ContextDirectoryInfo> _currentDirectoryInfo =
new HashMap<Folder, _ContextDirectoryInfo>();
/**
@@ -243,7 +243,7 @@ abstract class ContextDirectoryManager {
/**
* Called when a new context needs to be created.
*/
- void addContext(Folder folder, HashMap<String, List<Folder>> packageMap);
+ void addContext(Folder folder, Map<String, List<Folder>> packageMap);
/**
* Called when the set of files associated with a context have changed (or
« no previous file with comments | « pkg/analysis_server/lib/src/computer/element.dart ('k') | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698