rspec/rules/S1121/compliant.adoc

9 lines
110 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
== Compliant Solution
2022-02-04 17:28:24 +01:00
[source,text]
2020-06-30 12:47:33 +02:00
----
str = cont.substring(pos1, pos2);
if (str.isEmpty()) {
//...
----