Code inspection: Shift expression with zero left operand equals zero
This inspection reports a shift expression whose left operand is the constant value 0. Shifting zero still produces zero, so the operation usually has no effect.
Example
int value = 0 << count;
How to fix it
There is no dedicated quick-fix for this inspection. Remove the shift, or use the intended non-zero value if the zero was accidental.
int value = 0;
01 April 2026