use more orthodox API

This commit is contained in:
peter.gromov
2010-11-11 21:03:28 +03:00
parent 14367478e2
commit 99a334ae5f
@@ -113,8 +113,7 @@ public class WordCompletionContributor extends CompletionContributor implements
return true;
}
final CompletionProcess completion = CompletionService.getCompletionService().getCurrentCompletion();
if (completion == null || !completion.isAutopopupCompletion()) {
if (parameters.getInvocationCount() > 0) {
return true;
}