Reformat java entry