updating java docs, code formatting