Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeParameterImpl.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeParameterImpl.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeParameterImpl.java |
index 3fc57748dad343da49def5af078f65937764038d..110464484d998d635eea5f99b82269c49fdfd6e1 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeParameterImpl.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeParameterImpl.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.internal.model.info.DartTypeParameterInfo; |
import com.google.dart.tools.core.internal.util.MementoTokenizer; |
import com.google.dart.tools.core.model.DartElement; |
@@ -29,7 +30,7 @@ public class DartTypeParameterImpl extends SourceReferenceImpl implements DartTy |
public DartTypeParameterImpl(DartElementImpl parent, String name) { |
super(parent); |
- this.name = name; |
+ this.name = StringInterner.intern(name); |
} |
@Override |