Suppress false positives by adding the suppression annotation @SuppressWarnings("IncrementInForLoopAndHeader") to the enclosing element.
@SuppressWarnings("IncrementInForLoopAndHeader")