mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JavaIntentionPolicy: "Make 'static'" exception removed after IDEA-195165 fix
This commit is contained in:
@@ -61,7 +61,6 @@ class JavaIntentionPolicy extends IntentionPolicy {
|
||||
actionText.startsWith("Create missing 'switch' branches") || // if all existing branches do 'return something', we don't automatically generate compilable code for new branches
|
||||
actionText.matches("Make .* default") || // can make interface non-functional and its lambdas incorrect
|
||||
actionText.startsWith("Unimplement") || // e.g. leaves red references to the former superclass methods
|
||||
actionText.equals("Make 'static'") || // from Non-'static' initializer inspection; it does not care if initializer refers instance members, see IDEA-195165
|
||||
actionText.startsWith("Add 'catch' clause for '") || // if existing catch contains "return value", new error "Missing return statement" may appear
|
||||
actionText.equals("Split into declaration and initialization") || // TODO: remove when IDEA-179081 is fixed
|
||||
actionText.equals("Replace with 'while'"); // TODO: remove when IDEA-195157 is fixed
|
||||
|
||||
Reference in New Issue
Block a user