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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/keyword.dart

Issue 26662006: Changed LinkedHashSet to Set and LinkedHashMap to Map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: HashMap -> Map. Created 7 years, 2 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: sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart b/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
index d17bc8c2e2f21098c0b45c07e06c0c8837724d22..cca2e51103894e8690b26c31f67a08a1b5211a20 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
@@ -87,7 +87,7 @@ class Keyword extends IterableBase<int> implements SourceString {
PrecedenceInfo this.info: KEYWORD_INFO});
static Map<String, Keyword> computeKeywordMap() {
- Map<String, Keyword> result = new LinkedHashMap<String, Keyword>();
+ Map<String, Keyword> result = new Map<String, Keyword>();
for (Keyword keyword in values) {
result[keyword.syntax] = keyword;
}

Powered by Google App Engine
This is Rietveld 408576698