improve java doc