Suspicious integer division assignment
Reports assignments whose right side is a division that shouldn't be truncated to integer.
While occasionally intended, this construction is often buggy.
This code should be replaced with:
In the inspection options, you can disable warnings for suspicious but possibly correct divisions, for example, when the dividend can't be calculated statically.
New in 2019.2
Report suspicious but possibly exact divisions
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3