Minor Java changes
Merge pull request #3 from RyDroid/minor-java

Minor Java changes