Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.genericeditor')
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/DefaultContentAssistProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/DefaultContentAssistProcessor.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/DefaultContentAssistProcessor.java
index 9e4722053..755380112 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/DefaultContentAssistProcessor.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/DefaultContentAssistProcessor.java
@@ -58,7 +58,7 @@ public class DefaultContentAssistProcessor implements IContentAssistProcessor {
List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();
for (String token : tokenSet) {
- if ((token==null)||(token.isEmpty())) {
+ if ((token==null)||(token.length()<2)) {
continue;
}
if (token.equals(prefix)) {

Back to the top