[vcs-log] minor: inline constant parameter, remove final, add NotNull

This commit is contained in:
Julia Beliaeva
2016-12-28 05:05:49 +03:00
parent 8261a5a6a3
commit 8fdaeb7884
@@ -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);