mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
property tests: ignore replace throws with general exception as it breaks the catch clauses with specific exceptions
This commit is contained in:
@@ -164,7 +164,9 @@ class JavaParenthesesPolicy extends JavaIntentionPolicy {
|
||||
familyName.equals("Extract If Condition") ||
|
||||
// Cutting the message at different points is possible like
|
||||
// "Simplify 'foo || bar || baz || ...' to false" and "Simplify 'foo || (bar) || baz ...' to false"
|
||||
familyName.equals("Simplify boolean expression");
|
||||
familyName.equals("Simplify boolean expression") ||
|
||||
//may break catches with explicit exceptions
|
||||
familyName.equals("Replace Exceptions in Throws Clause with Single More General Exception");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user