Fix merging lines in JavaCodePrettyPrint