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

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