Fix java docs.