Java doc has been corrected