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