23 lines
244 B
Plaintext
23 lines
244 B
Plaintext
![]() |
include::../description.adoc[]
|
||
|
|
||
|
== Noncompliant Code Example
|
||
|
|
||
|
----
|
||
|
if (true) {
|
||
|
doSomething();
|
||
|
}
|
||
|
// ...
|
||
|
if (false) {
|
||
|
doSomethingElse();
|
||
|
}
|
||
|
----
|
||
|
|
||
|
== Compliant Solution
|
||
|
|
||
|
----
|
||
|
doSomething();
|
||
|
// ...
|
||
|
----
|
||
|
|
||
|
include::../see.adoc[]
|