updated java-doc
minor changes in documentation