mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JavaIntentionPolicy: remove exceptions for IDEA-195234, IDEA-195015
This commit is contained in:
@@ -64,8 +64,7 @@ class JavaIntentionPolicy extends IntentionPolicy {
|
||||
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
|
||||
actionText.equals("Randomly change 'serialVersionUID' initializer"); // TODO: remove when IDEA-195234 is fixed
|
||||
actionText.equals("Replace with 'while'"); // TODO: remove when IDEA-195157 is fixed
|
||||
}
|
||||
|
||||
}
|
||||
@@ -130,8 +129,6 @@ class JavaParenthesesPolicy extends JavaIntentionPolicy {
|
||||
actionText.equals("Remove unnecessary parentheses") ||
|
||||
// TODO: fix and remove exception after merging dfa_refactoring branch
|
||||
actionText.matches("Replace with '(true|false|null)'") ||
|
||||
// TODO: Remove when IDEA-195015 is fixed
|
||||
actionText.equals("Sort content") ||
|
||||
actionText.matches("Simplify '\\(+(true|false)\\)+' to \\1") ||
|
||||
// Parenthesizing sub-expression causes cutting the action name at different position, so name changes significantly
|
||||
actionText.matches("Compute constant value of '.+'") ||
|
||||
|
||||
Reference in New Issue
Block a user