IDEA 编辑器会对重复代码进行检测,并显示黄色下划波浪线,看着有些心烦,如何去除?步骤如下
点开设置,Editor、Code Style、Inspections、General 去掉 Duplicated Code 选项