Library function call could be simplified
Reports library function calls which could be replaced by simplified one.
Using corresponding functions makes your code simpler.
The quick-fix replaces the function calls with another one.
After the quick-fix is applied:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3