Fix syntax error on java6.
Merge pull request #16 from mbmihura/HotFix-java6UnrecognizeSintax

Fix syntax error on java6.