-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add quickfix for redundant interface #1325
Conversation
@@ -248,6 +250,11 @@ InitializeResult initialize(InitializeParams param) { | |||
capabilities.setWorkspace(wsCapabilities); | |||
|
|||
result.setCapabilities(capabilities); | |||
if (preferenceManager.getPreferences().getRedundantSuperinterface() != null && !JavaCore.IGNORE.equals(preferenceManager.getPreferences().getRedundantSuperinterface())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer if we kept that preference as part of the default project settings.
/** | ||
* Redundant super interface. | ||
*/ | ||
public static final String JAVA_COMPILER_PROBLEM_REDUNDANT_SUPER_INTERFACE = "java.compiler.problem.redundantSuperinterface"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't expose that
test this please |
@fbricon I have updated the PR. |
Can you please restore the tests? |
Signed-off-by: Snjezana Peco <[email protected]>
Done. |
Thanks @snjeza |
Fixes #438
Signed-off-by: Snjezana Peco [email protected]