Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java |
index 2d6125dbb85299108e8c4a9c2d7a08caad5f03d4..c1907329124c1ef8f91c99b23cee2a0a93ae279d 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java |
@@ -13,6 +13,7 @@ |
*/ |
package com.google.dart.tools.core.internal.model; |
+import com.google.dart.compiler.util.StringInterner; |
import com.google.dart.tools.core.DartCore; |
import com.google.dart.tools.core.internal.model.info.DartVariableInfo; |
import com.google.dart.tools.core.internal.util.MementoTokenizer; |
@@ -41,7 +42,7 @@ public class DartVariableImpl extends SourceReferenceImpl implements DartVariabl |
*/ |
public DartVariableImpl(DartElementImpl parent, String name) { |
super(parent); |
- this.name = name; |
+ this.name = StringInterner.intern(name); |
} |
@Override |