void (@NotNull Map<String, Boolean> profilesMap) { if (myProfilesMap == profilesMap) return; // Called from XML Serializer myProfilesMap.clear(); for (Map.Entry<String, Boolean> entry : profilesMap.entrySet()) { if (entry.getValue() != null) { myProfilesMap.put(entry.getKey(), entry.getValue()); } } }