void () { final Map<String, CommittedChangeListsListener> refreshers = new HashMap<>(); for (Map.Entry<String, MergeInfoHolder> entry : myHolders.entrySet()) { final CommittedChangeListsListener refresher = entry.getValue().createRefresher(false); if (refresher != null) { refreshers.put(ensureEndsWithSeparator(entry.getKey()), refresher); } } if (!refreshers.isEmpty()) { myManager.reportLoadedLists(new CommittedChangeListsListener() { @Override public void onBeforeStartReport() { } @Override public boolean report(@NotNull CommittedChangeList list) { if (list instanceof SvnChangeList svnList) { final String wcPath = svnList.getWcPath(); if (wcPath != null) { final CommittedChangeListsListener refresher = refreshers.get(ensureEndsWithSeparator(wcPath)); if (refresher != null) { refresher.report(list); } } } return true; } @Override public void onAfterEndReport() { for (CommittedChangeListsListener refresher : refreshers.values()) { refresher.onAfterEndReport(); } myStrategy.notifyListener(); } }); myManager.repaintTree(); } }