mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert isWorthLooking since the same logic is in its base calss
This commit is contained in:
-5
@@ -56,11 +56,6 @@ public class PrioritizedLookupElement<T extends LookupElement> extends LookupEle
|
||||
return myExplicitProximity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isWorthShowingInAutoPopup() {
|
||||
return getDelegate().isWorthShowingInAutoPopup();
|
||||
}
|
||||
|
||||
public static LookupElement withPriority(LookupElement element, double priority) {
|
||||
final PrioritizedLookupElement prioritized = element.as(CLASS_CONDITION_KEY);
|
||||
return new PrioritizedLookupElement<>(element, priority, prioritized == null ? 0 : prioritized.getGrouping());
|
||||
|
||||
Reference in New Issue
Block a user