Reformat ReplaceCallWithBinaryOperator

This commit is contained in:
Mikhail Glukhikh
2018-10-09 14:47:36 +03:00
parent 1aa9d5673b
commit 04cadf3f58
@@ -151,8 +151,7 @@ class ReplaceCallWithBinaryOperatorInspection : AbstractApplicabilityBasedInspec
val token = binaryParent.operationToken as? KtSingleValueToken ?: return null val token = binaryParent.operationToken as? KtSingleValueToken ?: return null
if (token in OperatorConventions.COMPARISON_OPERATIONS) { if (token in OperatorConventions.COMPARISON_OPERATIONS) {
if (notZero == binaryParent.left) token else token.inverted() if (notZero == binaryParent.left) token else token.inverted()
} } else {
else {
null null
} }
} }