Some minor changes to keep m2e happy after syncing the settings
WICKET-4973: fix ArrayIndexOutOfBoundsException when windowsize == 0