Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/dart/DartTypeCompletionProposalComputer.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/dart/DartTypeCompletionProposalComputer.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/dart/DartTypeCompletionProposalComputer.java |
index 54d6fe704a98afbfa2803098890e45675360eff6..670fada2fbac27ff0f2249231a4088fdcca18a25 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/dart/DartTypeCompletionProposalComputer.java |
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/dart/DartTypeCompletionProposalComputer.java |
@@ -15,7 +15,6 @@ package com.google.dart.tools.ui.internal.text.dart; |
import com.google.dart.tools.core.DartCore; |
import com.google.dart.tools.core.completion.CompletionProposal; |
-import com.google.dart.tools.core.model.DartElement; |
import com.google.dart.tools.core.model.DartModelException; |
import com.google.dart.tools.core.model.DartProject; |
import com.google.dart.tools.core.model.Type; |
@@ -73,10 +72,10 @@ public class DartTypeCompletionProposalComputer extends DartCompletionProposalCo |
Set proposed = new HashSet(); |
for (Iterator it = types.iterator(); it.hasNext();) { |
AbstractDartCompletionProposal p = (AbstractDartCompletionProposal) it.next(); |
- DartElement element = p.getDartElement(); |
- if (element instanceof Type) { |
- proposed.add(((Type) element).getElementName()); |
- } |
+// DartElement element = p.getDartElement(); |
+// if (element instanceof Type) { |
+// proposed.add(((Type) element).getElementName()); |
+// } |
relevance = Math.min(relevance, p.getRelevance()); |
} |