mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CompletionConfidence: don't force API users to implement unused method
This commit is contained in:
@@ -29,7 +29,9 @@ public abstract class CompletionConfidence {
|
||||
* @deprecated not used anymore, only the user controls whether the lookup will be focused
|
||||
*/
|
||||
@NotNull
|
||||
public abstract ThreeState shouldFocusLookup(@NotNull CompletionParameters parameters);
|
||||
public ThreeState shouldFocusLookup(@NotNull CompletionParameters parameters) {
|
||||
return ThreeState.UNSURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is invoked first when a completion autopopup is scheduled. Extensions are able to cancel this completion process based on location.
|
||||
|
||||
Reference in New Issue
Block a user