Fixed Java types to compile correctly
Merge pull request #1 from ashish-m-yh/master

Fixed Java types to compile correctly