[YC-483] Fix non compatible with  java 8 test

git-svn-id: https://yes-cart.googlecode.com/svn/trunk@1522 b5e963ab-246d-477c-a38c-82af0a68ca80