From d6f43bc6c79cb2527697092e82ac32afee4f3576 Mon Sep 17 00:00:00 2001 From: aktsay Date: Thu, 31 Dec 2020 13:45:16 +0300 Subject: [PATCH] feature/more-prefixes-boolean-methods(#417) ### What's done: * Fixed bugs --- .../main/kotlin/org/cqfn/diktat/ruleset/rules/NullChecksRule.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/NullChecksRule.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/NullChecksRule.kt index 85c0c7dcfd..61c8bb9996 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/NullChecksRule.kt +++ b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/NullChecksRule.kt @@ -160,6 +160,7 @@ class NullChecksRule(private val configRules: List) : Rule("null-ch } } + @Suppress("WRONG_INDENTATION") private fun ASTNode.extractLinesFromBlock(type: IElementType): List? = treeParent .getFirstChildWithType(type)