void (final String patterns, final String exceptions) { final Collection<String> urls = SvnApplicationSettings.getInstance().getCheckoutURLs(); final List<String> result = new ArrayList<>(); for (String url : urls) { if (SvnIniFile.checkHostGroup(url, patterns, exceptions)) { result.add(url); } } Collections.sort(result); myListener.onListChanged(result); notifyDefaultGroup(urls); }