JavaIntentionPolicy: "Make 'static'" exception removed after IDEA-195165 fix

This commit is contained in:
Tagir Valeev
2018-07-10 14:45:34 +07:00
parent fe28f4be1d
commit a6b56ad0bd
@@ -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