CompositeChangeBrowserSettings () { Set<AbstractVcs> enabledVcss = new HashSet<>(); for(AbstractVcs vcs: myEditors.keySet()) { ChangeBrowserSettings settings = myEditors.get(vcs).getSettings(); myDateFilter.saveValues(settings); mySettings.put(vcs, settings); if (myEnabledCheckboxes.get(vcs).isSelected()) { enabledVcss.add(vcs); } } mySettings.setEnabledVcss(enabledVcss); return mySettings; }