rspec/rules/S2197/compliant.adoc
2022-02-04 16:28:24 +00:00

9 lines
100 B
Plaintext

== Compliant Solution
[source,text]
----
public boolean isOdd(int x) {
return x % 2 != 0;
}
----