Reformat Java code