From fd488de065f9e74e71b81cb7c6fdd070c3c54dba Mon Sep 17 00:00:00 2001 From: Nariman Abdullin Date: Thu, 16 Jun 2022 18:30:48 +0300 Subject: [PATCH] fixed code style issue --- .../diktat/ruleset/rules/chapter3/BooleanExpressionsRule.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/BooleanExpressionsRule.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/BooleanExpressionsRule.kt index c1f27658ba..a598781956 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/BooleanExpressionsRule.kt +++ b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/BooleanExpressionsRule.kt @@ -29,6 +29,8 @@ import org.jetbrains.kotlin.psi.KtParenthesizedExpression import org.jetbrains.kotlin.psi.KtPrefixExpression import org.jetbrains.kotlin.psi.psiUtil.parents +typealias ExpressionCreator = (List?>) -> Expression + /** * Rule that checks if the boolean expression can be simplified. */ @@ -339,5 +341,3 @@ class BooleanExpressionsRule(configRules: List) : DiktatRule( } } } - -typealias ExpressionCreator = (List?>) -> Expression