rspec/rules/S108/kotlin/rule.adoc
Arseniy Zaostrovnykh 7ca29f686f Force linebreaks
2021-02-02 15:02:10 +01:00

14 lines
273 B
Plaintext

include::../description.adoc[]
include::../noncompliant.adoc[]
== Exceptions
When a block contains a comment, this block is not considered to be empty.
``++while++`` and unless loops are also exception to the rule.
----
while (order.processNext()); // Compliant
----