Statement lambda can be replaced with expression lambda
Reports lambda expressions with code block bodies when expression-style bodies can be used instead. The result of the conversion is shorter and more clear.
After the quick-fix is applied:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3