[CLEANUP] Reformat and clean up the Java source code.