rspec/rules/S1134/apex/rule.adoc

30 lines
540 B
Plaintext

== Why is this an issue?
include::../description.adoc[]
=== Noncompliant code example
[source,apex]
----
Integer divide(Integer numerator, Integer denominator) {
return numerator / denominator; // FIXME denominator value might be 0
}
----
include::../see.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]