intellij 里的“found duplicate code”提示关闭 打开 Settings -> Editor -> Inspections -> General 找到 “Duplicated Code ,回取消掉后面的钩钩,然后点击 Apply 即可取消提示。