TestCheckVector java test fixed. Warning fixed.
Merge pull request #380 from asmorkalov:java_test_fix2