1.File--setting--Editor-Inspections-Geneal-Duplicated Code 去除 主要是类中出现太多的重复代码,idea自动提示。 相关文章: 2021-12-13 2021-05-31 2021-04-11 2022-12-23 2022-12-23