TestCheckVector java test fixed. Warning fixed.