rspec/rules/S2252/java/noncompliant-code.adoc
2023-07-03 14:45:25 +02:00

6 lines
180 B
Plaintext

[source,java,diff-id=1,diff-type=noncompliant]
----
for (int i = 0; i < 0; i++) { // Noncompliant: the condition is always false, and the loop will never execute
// ...
}
----