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