去除IntelliJ IDEA对重复代码的检测

方法1: 
这里写图片描述 
这里写图片描述
方法2:(比较简便) 
这里写图片描述

原文地址:https://www.cnblogs.com/xiaoshen666/p/11117944.html