updated java-doc