JavaIntentionPolicy: fixed mistake equals -> matches

This commit is contained in:
Tagir Valeev
2018-07-09 12:31:43 +07:00
parent f738f3e5c0
commit 893a4e1e06
@@ -126,7 +126,7 @@ class JavaParenthesesPolicy extends JavaIntentionPolicy {
return actionText.equals("Add clarifying parentheses") ||
actionText.equals("Remove unnecessary parentheses") ||
// TODO: fix and remove exception after merging dfa_refactoring branch
actionText.equals("Replace with '(true|false|null)'") ||
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") ||