Revise the java doc