Fix java docs.
Fix review comment.
Merge pull request #301 from onepf/fix_documentation

Fix java docs.