Updated java doc