Unnecessary local variable
Reports local variables that are used only in the very next return
statement or are exact copies of other variables.
Such variables can be safely inlined to make the code more clear.
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Kotlin, @snapshot@ |
Last modified: 13 July 2023