rspec/rules/S1121/compliant.adoc

8 lines
96 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
== Compliant Solution
----
str = cont.substring(pos1, pos2);
if (str.isEmpty()) {
//...
----