IndexItem: add missing @Override
IndexItem: avoid unnecessary else clause