fix java source and java docs