mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use cached statistic info (EA-39958)
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ public class AbstractExpectedTypeSkipper extends CompletionPreselectSkipper {
|
||||
final Object object = item.getObject();
|
||||
if (!(object instanceof PsiClass)) return Result.ACCEPT;
|
||||
|
||||
if (StatisticsManager.getInstance().getUseCount(CompletionService.STATISTICS_KEY, item, location) > 1) return Result.ACCEPT;
|
||||
if (StatisticsManager.getInstance().getUseCount(StatisticsWeigher.getBaseStatisticsInfo(item, location)) > 1) return Result.ACCEPT;
|
||||
|
||||
PsiClass psiClass = (PsiClass)object;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user