Fixed java method naming