mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] minor: inline refreshCompletely
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user