include::../description.adoc[]

== Noncompliant Code Example

----
switch (variable) {
  case 0:
    doSomething();
  default:
    doSomethingElse();
}
----

== Compliant Solution

----
if (variable == 0) {
  doSomething();
} else {
  doSomethingElse();
}
----

ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]
