Updated Java doc