Groovy
Loop statement that doesn't loop
Warning
Reliability
Last modified: 03 December 2024 Reports for
or while
statements whose bodies are guaranteed to execute at most once. While such statements could be written intentionally, they are usually a symptom of error.
Example:
for (int i in 0..<10) {
return
}
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
GroovyLoopStatementThatDoesntLoop
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Groovy, 243.23126 |
Thanks for your feedback!
Was this page helpful?