[vcs-log] minor: inline refreshCompletely

This commit is contained in:
Julia Beliaeva
2016-10-04 19:50:29 +03:00
parent df5219221c
commit 61d2bfb2f0
2 changed files with 2 additions and 10 deletions
@@ -248,17 +248,9 @@ public class VcsLogData implements Disposable, VcsLogDataProvider {
myDataLoaderQueue.run(backgroundable, null, myRefresher.getProgress().createProgressIndicator());
}
/**
* Makes the log perform complete refresh for all roots.
* It fairly retrieves the data from the VCS and rebuilds the whole log.
*/
public void refreshCompletely() {
initialize();
}
/**
* Refreshes all the roots.
* In contrast to refreshCompletely, does not re-read all log but rather the most recent commits.
* Does not re-read all log but rather the most recent commits.
*/
public void refreshSoftly() {
myRefresher.refresh(myLogProviders.keySet());
@@ -97,7 +97,7 @@ public class VcsLogManager implements Disposable {
public void scheduleInitialization() {
if (!myInitialized) {
myInitialized = true;
myLogData.refreshCompletely();
myLogData.initialize();
}
}