diff --git a/detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/BracesOnWhenStatements.kt b/detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/BracesOnWhenStatements.kt index 794a0aa9707c..3666bb42d4b0 100644 --- a/detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/BracesOnWhenStatements.kt +++ b/detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/BracesOnWhenStatements.kt @@ -19,7 +19,7 @@ import org.jetbrains.kotlin.psi.KtWhenExpression * Keeping braces consistent will improve readability and avoid possible errors. * * Single-line `when` statement is: - * a `when` where each of the entries are single-line (has no line breaks `\n`). + * a `when` where each of the branches are single-line (has no line breaks `\n`). * * Multi-line `when` statement is: * a `when` where at least one of the entries is multi-line (has a break line `\n`)