2020-06-30 10:16:44 +02:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
include::../noncompliant.adoc[]
|
|
|
|
|
|
|
|
== Exceptions
|
|
|
|
|
|
|
|
When a block contains a comment, this block is not considered to be empty.
|
2021-01-27 13:42:22 +01:00
|
|
|
``++while++`` and unless loops are also exception to the rule.
|
2020-06-30 14:49:38 +02:00
|
|
|
|
2020-06-30 10:16:44 +02:00
|
|
|
----
|
|
|
|
while (order.processNext()); // Compliant
|
|
|
|
----
|