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

9 lines
110 B
Plaintext

== Compliant Solution
[source,text]
----
str = cont.substring(pos1, pos2);
if (str.isEmpty()) {
//...
----