IntelliJ IDEA 重复代码提示有时候会很烦人,去掉方式如下: Preferences => Editor => Inspections => General => Duplicated code fragment (去掉勾选) 相关文章: