CompletionConfidence: don't force API users to implement unused method

This commit is contained in:
peter
2013-09-20 12:56:27 +02:00
parent 34cf7ebac5
commit 9fa36be8b0
@@ -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.