=== Compliant solution
[source,java]
----
if (variable == 0) {
doSomething();
} else {
doSomethingElse();
}