Java doc updated