IntelliJ IDEA “Finds duplicated code”提示如何关闭
Linux:Settings —> Editor —> Inspections —> General —> Duplicated Code
Mac:Preferences --> Editor —> Inspections —> General —> Duplicated Code fragment
将对应的勾去掉。
参考:
https://www.cnblogs.com/yuanchaoyong/p/7222372.html