mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JavaIntentionPolicy#mayBreakCompilation: remove "Replace with 'while'" (IDEA-195157 is fixed), add Suspicious toArray (IDEA-200859)
This commit is contained in:
@@ -75,7 +75,7 @@ class JavaIntentionPolicy extends IntentionPolicy {
|
||||
actionText.equals("Split into declaration and initialization") || // TODO: remove when IDEA-179081 is fixed
|
||||
//may break catches with explicit exceptions
|
||||
actionText.matches("Replace with throws .*") ||
|
||||
actionText.equals("Replace with 'while'"); // TODO: remove when IDEA-195157 is fixed
|
||||
actionText.matches("Replace with '(new .+\\[]|.+\\[]::new)'"); // Suspicious toArray may introduce compilation error
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user