mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] minor: inline constant parameter, remove final, add NotNull
This commit is contained in:
@@ -189,7 +189,7 @@ public class VcsLogData implements Disposable, VcsLogDataProvider {
|
||||
DataPack dataPack = myRefresher.readFirstBlock();
|
||||
fireDataPackChangeEvent(dataPack);
|
||||
initSw.report();
|
||||
}, "Loading History...");
|
||||
});
|
||||
}
|
||||
|
||||
private void readCurrentUser() {
|
||||
@@ -250,8 +250,8 @@ public class VcsLogData implements Disposable, VcsLogDataProvider {
|
||||
return myContainingBranchesGetter;
|
||||
}
|
||||
|
||||
private void runInBackground(final ThrowableConsumer<ProgressIndicator, VcsException> task, final String title) {
|
||||
Task.Backgroundable backgroundable = new Task.Backgroundable(myProject, title, false) {
|
||||
private void runInBackground(@NotNull ThrowableConsumer<ProgressIndicator, VcsException> task) {
|
||||
Task.Backgroundable backgroundable = new Task.Backgroundable(myProject, "Loading History...", false) {
|
||||
@Override
|
||||
public void run(@NotNull ProgressIndicator indicator) {
|
||||
indicator.setIndeterminate(true);
|
||||
|
||||
Reference in New Issue
Block a user