property tests: ignore replace throws with general exception as it breaks the catch clauses with specific exceptions

This commit is contained in:
Anna.Kozlova
2018-10-10 18:18:08 +02:00
parent 312951be9c
commit e8582863dd
@@ -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