Minor cleanup in Java bindings.

* Fill in a docstring
* Remove unneeded semicolons