Constant conditional expression
Reports conditional expressions in which the condition is either a
false constant. These expressions sometimes occur as a result of automatic refactorings and may be simplified.
After quick-fix is applied:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3