mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[log] Don't schedule a refresh task if there is nothing to refresh
This commit is contained in:
@@ -113,7 +113,9 @@ public class VcsLogRefresherImpl implements VcsLogRefresher {
|
||||
|
||||
@Override
|
||||
public void refresh(@NotNull Collection<VirtualFile> rootsToRefresh) {
|
||||
mySingleTaskController.request(new RefreshRequest(rootsToRefresh));
|
||||
if (!rootsToRefresh.isEmpty()) {
|
||||
mySingleTaskController.request(new RefreshRequest(rootsToRefresh));
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user