From 67b8a3d6ebf6bd49326e665166e922840e3b5606 Mon Sep 17 00:00:00 2001 From: Arrgentum Date: Wed, 22 Jun 2022 19:17:11 +0300 Subject: [PATCH] ### Whats added: * Add 2 operator references * Corrected comment ### Issue(#1393) --- .../org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt index caaf1cd89f..68aaa2f0b6 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt +++ b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt @@ -600,7 +600,9 @@ class LineLength(configRules: List) : DiktatRule( * This method stored all the nodes that have [BINARY_EXPRESSION] or [PREFIX_EXPRESSION] element type. * - First elem in List - Logic Binary Expression (`&&`, `||`) * - Second elem in List - Comparison Binary Expression (`>`, `<`, `==`, `>=`, `<=`, `!=`, `===`, `!==`) - * - Other types (Arithmetical and Bitwise operation) (`+`, `-`, `*`, `/`, `%`, `>>`, `<<`, `&`, `|`, `~`, `^`, `>>>`, `<<<`,`*=`, `+=`, `-=`, `/=`, `%=`, `++`, `--`, `in` `!in`, etc.) + * - Other types (Arithmetical and Bitwise operation) (`+`, `-`, `*`, `/`, `%`, `>>`, `<<`, `&`, `|`, `~`, `^`, `>>>`, `<<<`, + * `*=`, `+=`, `-=`, `/=`, `%=`, `++`, `--`, `in` `!in`, etc.) + * * @return the list of node-to-offset pairs. */ @Suppress("TYPE_ALIAS")