resources.report.rules.spotbugs.DLS_OVERWRITTEN_INCREMENT.html Maven / Gradle / Ivy
DLS_OVERWRITTEN_INCREMENT
DLS: Overwritten increment (DLS_OVERWRITTEN_INCREMENT)
The code performs an increment operation (e.g., i++
) and then
immediately overwrites it. For example, i = i++
immediately
overwrites the incremented value with the original value.