格式化代码后多行空行转为一行Setting  --> 搜索 code style  -->  选择 blank lines标签项   --> 保留最大空行数设置为1idea method is never used 取消未使用的方法警告...