Expression can be factorized
Reports expressions that can be factorized, i.e. reorganized to pull out a common factor. This reduces redundancy and could improve the readability of your code.
After the quick-fix is applied:
New in 2021.3
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3