[vcs-log] use int instead of Integer

This commit is contained in:
Julia Beliaeva
2018-07-10 15:55:08 +03:00
parent f5801de0fd
commit 43ab4b5a23
2 changed files with 2 additions and 2 deletions
@@ -94,7 +94,7 @@ abstract class AbstractDataGetter<T extends VcsShortCommitDetails> implements Di
@Override
@NotNull
public T getCommitData(@NotNull Integer hash, @NotNull Iterable<Integer> neighbourHashes) {
public T getCommitData(int hash, @NotNull Iterable<Integer> neighbourHashes) {
assert EventQueue.isDispatchThread();
T details = getFromCache(hash);
if (details != null) {
@@ -26,7 +26,7 @@ import java.util.List;
public interface DataGetter<T extends VcsShortCommitDetails> {
@NotNull
T getCommitData(@NotNull Integer hash, @NotNull Iterable<Integer> neighbourHashes);
T getCommitData(int hash, @NotNull Iterable<Integer> neighbourHashes);
@Deprecated
default void loadCommitsData(@NotNull List<Integer> hashes,