boolean (@NotNull Map<String, Element> inspectionsSettings, @NotNull Element inspectionElement) { final Element merge = merge(inspectionsSettings, false); if (merge != null) { myNewInspection.readSettings(merge); merge.removeContent(); myNewInspection.writeSettings(merge); return JDOMUtil.areElementsEqual(merge, inspectionElement); } return false; }