打开 File-->Settings-->Editor-->Code Scheme-->General-->Errors and Warnings-->Weak Warning
把那红色箭头的两项取消,就OK啦
原因:代码重复或者相似会提醒