rspec/rules/S1134/java/non-compliant-example.adoc
Cristian Ambrosini aaa468bf3a
Modify rule S1134: Update to LaYC (#2189)
I removed abap, flex, pli and rpg dummy implementations since they're
not implemented in the corresponding analyzer and there are no tickets
open to do so.
2023-06-14 14:23:44 +02:00

6 lines
156 B
Plaintext

[source,java]
----
int divide(int numerator, int denominator) {
return numerator / denominator; // FIXME denominator value might be 0
}
----