[YC-483] Fix some java 8 incompatibility.

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