[vcs-log] remove deprecated method

This commit is contained in:
Julia Beliaeva
2018-07-12 19:04:28 +03:00
parent 9e9a9bd233
commit aadec8aaa0
@@ -17,7 +17,6 @@ package com.intellij.vcs.log.data;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.util.Consumer;
import com.intellij.util.EmptyConsumer;
import com.intellij.vcs.log.VcsShortCommitDetails;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -28,13 +27,6 @@ public interface DataGetter<T extends VcsShortCommitDetails> {
@NotNull
T getCommitData(int hash, @NotNull Iterable<Integer> neighbourHashes);
@Deprecated
default void loadCommitsData(@NotNull List<Integer> hashes,
@NotNull Consumer<List<T>> consumer,
@Nullable ProgressIndicator indicator) {
loadCommitsData(hashes, consumer, EmptyConsumer.getInstance(), indicator);
}
void loadCommitsData(@NotNull List<Integer> hashes, @NotNull Consumer<List<T>> consumer,
@NotNull Consumer<Throwable> errorConsumer, @Nullable ProgressIndicator indicator);