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

Unified Diff: pkg/analyzer/lib/src/index/store/collection.dart

Issue 365193004: Move Index and IndexStore implementations into Engine. (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
Index: pkg/analyzer/lib/src/index/store/collection.dart
diff --git a/pkg/analysis_server/lib/src/index/store/collection.dart b/pkg/analyzer/lib/src/index/store/collection.dart
similarity index 95%
rename from pkg/analysis_server/lib/src/index/store/collection.dart
rename to pkg/analyzer/lib/src/index/store/collection.dart
index 3c29445ca82e112a997d6b917085d67007d2d7b8..27b6cf6bb0bcc2f3ccd8797cb1f65d21fbd1c9d7 100644
--- a/pkg/analysis_server/lib/src/index/store/collection.dart
+++ b/pkg/analyzer/lib/src/index/store/collection.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library index.store.collection;
+library engine.src.index.store.collection;
import 'dart:collection';
import 'dart:typed_data';
@@ -18,7 +18,7 @@ class IntArrayToIntMap {
/**
* Returns the value for the given [key] or null if [key] is not in the map.
*/
- int operator[](List<int> key) {
+ int operator [](List<int> key) {
Int32List typedKey = _getTypedKey(key);
return map[typedKey];
}
@@ -29,7 +29,7 @@ class IntArrayToIntMap {
* If the key was already in the map, its associated value is changed.
* Otherwise the key-value pair is added to the map.
*/
- void operator[]=(List<int> key, int value) {
+ void operator []=(List<int> key, int value) {
Int32List typedKey = _getTypedKey(key);
map[typedKey] = value;
}

Powered by Google App Engine
This is Rietveld 408576698