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

Unified Diff: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/logical/MapStructureType.java

Issue 11931034: Add methods to Collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 11 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 | « no previous file | editor/util/debuggertest/pets.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/logical/MapStructureType.java
diff --git a/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/logical/MapStructureType.java b/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/logical/MapStructureType.java
index 9b031cb104b106ada9fa9ceb77f6ea7a39adb8f7..026dda4fb05394f7580cf24550d70b9e8960d7da 100644
--- a/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/logical/MapStructureType.java
+++ b/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/logical/MapStructureType.java
@@ -1,11 +1,11 @@
/*
* Copyright (c) 2012, the Dart project authors.
- *
+ *
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
- *
+ *
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
@@ -34,7 +34,7 @@ import java.util.List;
*/
public class MapStructureType implements ILogicalStructureTypeDelegate {
// TODO(devoncarew): add a unit test to ensure that these classes are available.
- private static final String CLASS_HASH_SET_IMPL = "_HashSetImpl";
+ private static final String CLASS_HASH_SET = "HashSet";
//private static final String CLASS_LINKED_HASH_MAP_IMPL = "_LinkedHashMapImpl";
@@ -55,7 +55,7 @@ public class MapStructureType implements ILogicalStructureTypeDelegate {
return createHashMap(value);
}
- if (CLASS_HASH_SET_IMPL.equals(value.getReferenceTypeName())) {
+ if (CLASS_HASH_SET.equals(value.getReferenceTypeName())) {
return createHashSet(value);
}
} catch (Throwable t) {
@@ -72,8 +72,8 @@ public class MapStructureType implements ILogicalStructureTypeDelegate {
}
try {
- // _HashSetImpl
- if (CLASS_HASH_SET_IMPL.equals(value.getReferenceTypeName())) {
+ // HashSet
+ if (CLASS_HASH_SET.equals(value.getReferenceTypeName())) {
return true;
}
« no previous file with comments | « no previous file | editor/util/debuggertest/pets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698